18
Getting Started with UI Toolkit
Up to this point, the focus of this book has been on Unity UI (uGUI). However, Unity has been developing another system in which you can develop UI for your game: the UI Toolkit. It is based on the principles of web design and is meant to allow you to create UI in a more flexible and extensible way than the uGUI. It accomplishes this by divorcing the design and development of UI from scenes and GameObjects and instead creates UI via code and style sheets—just like in web design.
The UI Toolkit is an entirely different system, so beginning development with it may feel jarring at first if you are used to developing UI with uGUI. However, if you have experience with .html and .css or developing Android or iOS ...
Get Mastering UI Development with Unity - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.