A couple of things to check out
[OnSceneGUI called without any object selected][1]
[Drawing to the scene from an EditorWindow][2]
[1]: http://answers.unity3d.com/questions/19321/onscenegui-called-without-any-object-selected.html
[2]: http://answers.unity3d.com/questions/58018/drawing-to-the-scene-from-an-editorwindow.html
↧