- Home /
Showing Handles in the Game View
Is there a way to show handles in the game view the same way you can gizmos? I noticed the Unity built in Camera does this. If you hit "Show Gizmos" it shows the handle without the grab and drag points.
Answer by revolute · Jan 02, 2020 at 06:45 AM
Handles is what you are looking for. Handles.PositionHandle has examples to help you.
I know what handles are, that's what I'm asking about. I wanted to know if there is a way to show them in the game view, as unlike gizmos, you can only see them in the scene view.
You can see handles like gizmos. You can put it in OnDrawGizmos in monobehaviour to make it work like gizmos. It will show up.
Huh, not sure why I never thought to do that. Just have to make sure to put it in compiler tags so it doesn't make it into the build. Or you could use the DrawGizmo attribute in an editor script since Handles are editor only. Thanks!