How can I do same menu in Unity3D? What should I use?
1 Answer
1Something like that.
Even without an EditorWindow you can get OnSceneGUI like this: initiate the script somehow with this: http://docs.unity3d.com/Manual/RunningEditorCodeOnLaunch.html SceneView.onSceneGUIDelegate += OnScene; and then you can use: static void OnScene(SceneView sceneView) { Debug.Log("lol"); }
– WisearnThanks for that solution!) An what about button in scene view control bar ? How can I draw it ?
– kiriyee
First let me ask you the legendary question: [What have you tried?][1] [1]: http://mattgemmell.com/what-have-you-tried/
– HarshadKScripting Reference.
– kiriyee