Unity UIToolkit: Introduction To Editor Scripting

Learn the basics of the new UIToolkit in the Unity Game Engine

   Watch Promo
 

Unity UIToolkit: Introduction To Editor Scripting

Learn the basics of the new UIToolkit in the Unity Game Engine

Join 734,000 Strong Student Community

Get Teaching Assistant Support

Earn a Completion Certificate

Enjoy 30-Day Money-Back Promise

Lifetime Access to Course

Get plugged into our communities of amazing developers on Facebook (nearly 20k), in our own TA-curated Community (17k views/day), or our student chat group (10k live at any one time)

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).

All students have access to the Q&A forums where our Instructors, Teaching Assistants and Community are ready to help answer your questions and cheer on your success. 🎉
Ready to supercharge your Unity editor? Come join the course now


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.

Your Instructor


Gary Pettie
Gary Pettie

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!


Course Curriculum (3+ hours)


  Introduction & Setup (0 hours 33 minutes)
Available in days
days after you enroll
  • Preview
    Welcome to the Course (2:08)
  • Start
    Set Up Unity & VS Code (10:31)
  • Start
    Reminder of C# Fundamentals (15:02)
  • Start
    Community & Support (1:40)
  • Start
    Accessing Our Projects (4:38)
  UIToolkit Basics (0 hours 52 minutes)
Available in days
days after you enroll
  • Preview
    Section Intro - UITooIkit Basics (1:03)
  • Start
    UI Builder (7:59)
  • Start
    Structure & Style (11:42)
  • Preview
    USS Box Model (8:32)
  • Start
    Positioning with Flexbox (12:29)
  • Start
    C# Editor Window (9:43)
  • Start
    Section Wrap-Up (1:17)
  Custom Task List (2 hours 27 minutes)
Available in days
days after you enroll
  • Preview
    Section Intro - Custom Task List (1:03)
  • Start
    Editor Window Design (5:49)
  • Start
    Task List Scriptable Object (7:54)
  • Start
    Adding Tasks (Setup) (6:50)
  • Start
    UQuery (8:04)
  • Start
    Adding Tasks (11:30)
  • Start
    Loading Tasks - Part 1 (10:42)
  • Start
    Loading Tasks - Part 2 (9:24)
  • Start
    Saving Tasks (7:41)
  • Start
    UI Design Improvements (8:55)
  • Start
    Completing Tasks (9:33)
  • Start
    Tracking Progress - Part 1 (13:14)
  • Start
    Tracking Progress - Part 2 (5:27)
  • Start
    Searching For Tasks (12:05)
  • Start
    Sub-Editors (16:01)
  • Start
    Notifications (12:03)
  • Start
    Course Wrap-Up (1:06)

Frequently Asked Questions


When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Get started now!