How to insert UI button into game view tab in the editor itself?

I mean literally across that thing somewhere^

Can I modify it to add a button similar to “Mute Audio” and “Stats” on the right? I have an extension/tool that takes a capture of the gameview and I want to add the snapshot button right into the game view tab/bar like After Effects.

8166689--1062575--upload_2022-5-30_6-28-48.png

I’d love to do this too, for exactly the same functionality! Based on another thread, it doesn’t sound easy, if possible. How to add a toggle button to the Game View tab?

Adding buttons to the Scene view is at least possible, if not particularly seamless (it’s within the view area instead of the bar across the top). It doesn’t sound like there’s an equivalent for the Game view. Creating a button in the scene view.

1 Like

There is an API for adding buttons and more to the scene view toolbar: https://docs.unity3d.com/ScriptReference/EditorTools.EditorTool.html

Not sure about the game view.