static void Init() { // Get existing open window or if none, make a new one: m_window = (GolfEditor)EditorWindow.GetWindow(typeof(GolfEditor), true); if (m_window) { m_window.init(); } //createScene(); }
static void Init () { // Get existing open window or if none, make a new one: m_window = (GolfEditor)EditorWindow.GetWindow (typeof (GolfEditor),true); if(m_window) { m_window.init(); } //createScene(); }