- Home /
Question by
MalikDrako · Dec 23, 2012 at 11:35 PM ·
editorwindowgizmosdrawing
Draw mesh and gizmo directly from EditorWindow
I am creating a tool that needs to draw meshes and gizmos in the scene view. Right now, I have it drawing both from a temp object I create in the scene, but I would rather not create that object. Is there some way to draw meshes and gizmos directly from an EditorWindow?
Comment
Best Answer
Answer by MalikDrako · Jan 10, 2013 at 07:21 PM
After more searching, I found this question http://answers.unity3d.com/questions/58018/drawing-to-the-scene-from-an-editorwindow.html and now have it drawing meshes and handles using SceneView.onSceneGUIDelegate