how to turn on UI gizmo on unity
To turn on UI gizmos in Unity, click the Gizmos button in the top- right of the Scene view or Game view toolbar; if needed, open its dropdown and make sure the relevant UI or script gizmo options are enabled.
Quick steps
- Open the Scene view.
- Click Gizmos in the top-right toolbar so it is enabled.
- If your custom gizmo still does not show, open the Gizmos dropdown and:
- Enable the checkbox for your target script.
- Make sure the icon toggle is on.
- Raise the 3D icons slider if the icon is too small.
- If you want to see them while playing, do the same in the Game view.
Common gotchas
- Gizmos are editor visuals, so they do not appear in a built/deployed game.
- If UI elements seem missing, try switching the Scene view back to 3D and confirm the correct layer visibility is on.
- For custom UI gizmos, the script usually needs
OnDrawGizmosorOnDrawGizmosSelectedto draw anything at all.
If it still is not visible
- Reset the editor layout.
- Recheck the Gizmos toggle in the upper-right corner.
- Confirm the object is selected if you used
OnDrawGizmosSelected.
TL;DR: click Gizmos in the Scene/Game view, enable the right script/icon options in the dropdown, and make sure your gizmo code actually draws something.