Reusable Components with UI Toolkit | Editor Scripting Unity Tutorial
Published: 11 Apr 2023
Getting started with UI Toolkit? Check out my UI Toolkit Fundamentals Course: https://gamedev.tv/courses/unity-ui-toolkit-fundamentals?ref=mjuzyjq&utm_source=llamacademy&utm_medium=youtube&utm_campaign=unityscape-uitk
This week you'll learn how to use UI Toolkit to create reusable components that encapsulate behaviors and interactions. We're creating a custom Visual Element for use in the Editor, but the same concept can be applied to runtime GUIs. Making reusable components reduces duplication of effort and unifies user interaction with your controls!
🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂
👨💻 Get the FULL FREE PROJECT on GitHub: https://github.com/llamacademy/scriptable-object-based-guns
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly
📚 Resources:
🟠 UI Toolkit Reusable Components: https://docs.unity3d.com/Manual/UIE-encapsulate-uxml-with-logic.html
🟠 UI Toolkit Custom Inspector: https://docs.unity3d.com/Manual/UIE-HowTo-CreateCustomInspector.html
🟠 UI Toolkit Binding Best Practices: https://docs.unity3d.com/Manual/UIE-Binding.html
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.