The UI Toolkit provides tools to help you test and debug your UI elements. You can test your UI elements in the UI Builder, use the UI Toolkit Debugger to inspect and debug your UI elements in real-time, and use the UI Toolkit profilerA window that helps you to optimize your game. It shows how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating, or in your game logic. More info
See in Glossary markers to profile your UI elements.
Topic | Description |
---|---|
Test UI in UI Builder | Debug your styles and test inside the UI Builder. |
UI Toolkit Debugger | Use the UI Toolkit Debugger to inspect and debug your UI elements in real-time. |
UI Toolkit profiler markers | Use the UI Toolkit profiler markersPlaced in code to describe a CPU or GPU event that is then displayed in the Unity Profiler window. Added to Unity code by default, or you can use ProfilerMarker API to add your own custom markers. More info See in Glossary to profile your UI elements. |
Inspect UI Toolkit events with Event Debugger | Use the Event Debugger to inspect and troubleshoot UI events in UI Toolkit. |