Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Intro to Tool Dev in Unity

Freya Holmér via YouTube

Overview

Dive into the second part of a comprehensive tutorial on tool development in Unity, spanning nearly 4 hours. Learn advanced techniques for creating custom editor tools, including changing grid sizes, drawing Cartesian and polar grids, implementing gizmo selection, and handling UI events. Explore Unity's source code for valuable insights, master position handles, and discover methods for saving data between sessions. Create a prop placement tool, set up editor windows, and implement scene view raycasting. Delve into concepts like random point generation in discs, tangent space, and efficient use of modifier keys. Gain practical knowledge on UI deselection, mouse events, and cursor-based raycasting in the scene view. Complete hands-on assignments and learn to adapt circular tools to match ground surfaces, all while receiving expert guidance and occasional humorous asides.

Syllabus

- Intro Twitch Partner Chatting
- Changing Grid Size
- Drawing a Cartesian Grid
- Gizmo Selection
- UI Events
- Tool Dev Tip: Read Unity's Source
- Position Handle
- Drawing a Polar Grid
- Snapping to a Polar Grid
- Saving Data Between Sessions
- Saving In Files
- Making a Prop Placement Tool
- Setting up the Editor Window
- Scene View Raycasting
- Spawn Radius, Count & Repaint Caveats
- Random Points in Disc
- What is Tangent Space?
- Cat Ears
- Design Patterns Rant
- Spawn Count Refresh
- Range Limiting
- Raycasting Points to Surface
- UI Deselection & Mouse Events
- Raycast from Cursor in Scene View
- Mouse Wheel to Change Radius
- Modifier Keys, Bitfields & Enum Flags
- Assignments!
- Making the Circle Match the Ground
- Outro
- Bad Teacher

Taught by

Freya Holmér

Reviews

Start your review of Intro to Tool Dev in Unity

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.