Unity UIToolkit: Introduction To Editor Scripting
Learn the basics of the new UIToolkit in the Unity Game Engine
Want to create your own editor tools in Unity to help improve your workflow? Or tidy up those script variables to make them easier to work with in the inspector?
In this course, we'll take you through basic editor scripting using Unity's new UIToolkit.
You'll be introduced to the UI Builder, which is a nice visual interface for crafting new editor windows. You'll learn how many of the common elements work including; the basic visual element, text labels, buttons, toggles and input fields.
You'll also be introduced to USS and UXML (based on the css and xml standards), which are used to drive the look and structure of your editor windows.
Learn how to talk to these visual elements via a C# editor script and tie everything together by creating a custom task list window, which will allow you to record your unfinished project tasks and progress directly within Unity.
This course is aimed at a beginner plus to intermediate level. You'll need a basic understanding of the Unity interface and C# (if you've taken any of our other Unity courses then you should be good to go).
What you'll learn in this course:
- Create custom Editor Windows for Unity using the UIToolkit.
- Visually build your editor UI using the new UIBuilder.
- Understand how uss, uxml, and C# work together to drive the look, structure and logic of your editor window.
- Create a simple in-editor task list to help track your project progress.
Gary is a self-proclaimed nerd who absolutely loves video games, maths, science, and technology.
He studied Computing & IT with the Open University and was first introduced to GameDev.tv in 2017, when he enrolled on the “Complete Unity Developer” course. Gary wanted to get serious about making games and a few months later he was a Unity certified developer and now runs his own indie game studio.
In his younger years, Gary worked as a professional musician and private guitar tutor and particularly enjoyed passing on his knowledge to others. So, when the opportunity arose to become a GameDev.tv instructor, he couldn’t pass up the chance to share his knowledge and passion with all of you!