Customize the Unity Editor with UIElements! (Tutorial)


Total duration : 06min

UIElements is a new retained mode UI framework for Unity, available now as a public API for Unity 2019.1. In its current form, it’s a tool that makes it easier for you to extend the Unity Editor. In-game support and visual authoring will come in future releases.

➡️Learn more about UI Elements, and Download the Example Project here:
https://ole.unity.com/uielementsdemo

Check out the blog post here:
https://ole.unity.com/UIElements

Traditionally, building custom Editor windows and inspectors in Unity meant using IMGUI, an immediate mode API. IMGUI makes it easy to start building user interfaces but fails to scale when you’re building more complex applications. It’s also difficult for the system to optimize rendering because the user can drastically change the structure of the UI at any time within the current frame. Lastly, all UI is declared in C# which means that any future tool for authoring UI visually would need to generate C# code, which is a complicated proposition.

In UIElements, as a retained mode API, the idea is that you build your UI hierarchy of objects and let the system render it for you. This way, the system can optimize what it draws, and when it draws, leading to better overall performance. This paradigm also lets you decouple your hierarchy and styling from functionality, which results in a better separation of concerns and more approachable UI authoring for both artists and programmers.unity
       
11 K 63 818 08min

  Youtube
       
6 K 79 351 13min

  Youtube
       
2 K 6 72 01min

  Youtube
       
3 K 22 159 04min

  Youtube
       
7 K 38 505 08min

  Youtube
       
9 K 44 508 12min

  Youtube

Comments


Note this course

...