- Home /
How create working handle (position, rotation) without select GameObject
I create EditorWindow, and when press to buttons, need appear HandlePosition in window scene, but so, that no need select GameObject in Hierarhy. If create HandlePosition in function with attribute DrawGizmos, then is appear, but no worked.
Answer by andreymust · Sep 14, 2011 at 12:31 PM
Output on console:
'UnityEditor.Editor' doesn't contain a definition for 'DrawGizmo'
I try set [DrawGizmo(GizmoType.NotSelected | GizmoType.Pickable] before drawwing function. Is drawwing lines, but don't creating worked Handles, only draw him. I think, need link HandlePosition with class or object.
Your answer

Follow this Question
Related Questions
Draw Camera to Editor Window 1 Answer
GUI error when using HandleUtility.PickGameObject() 1 Answer
Set MinWidth for EditorWindow 1 Answer
Left Click Up Event in Editor 4 Answers