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.
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.