- Home /
Custom inspector draw Gizmos
I try to draw a gizmo from my custom inspector.
The documentation says that I should be able to use OnSceneGUI()
In the OnSceneGUI you can do eg. mesh editing, terrain painting or advanced gizmos If call Event.current.Use(), the event will be "eaten" by the editor and not be used by the scene view itself.
But instead I get error that I can only draw from OnGizmos.
How do I draw gizmos from the editor?
Comment
Your answer
Follow this Question
Related Questions
Select object by selecting gizmo or handle? 1 Answer
Component on SceneView camera has wrong gameObject In OnDrawGizmos. 0 Answers
Controlling OnDrawGizmo 1 Answer
Make hidden gizmos invisible 0 Answers
Gizmos at RunTime 1 Answer