Beispiel #1
0
 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();
 }
Beispiel #2
0
	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();
	}