Possible to add a button/toggle to the top of Game/Scene windows (like the Gizmos toggle button)?

Tried googling but couldn’t find any information on this.

I’d like to do this:

Thanks for any help!

It’s not exactly what you want, but check into how ProBuilder puts up their little line of in-scene buttons across the top of the scene window. There may be some intel in that code to see what APIs to tinker with to get it in the bar.

Thanks Kurt - will check that out!

I also found this alternate option, which would let me put the button inside the actual Scene View. Wouldn’t be quite as clean, but could still get the job done: https://discussions.unity.com/t/817759/4

1 Like