public static void Init()
 {
     // Get existing open window or if none, make new one
     window          = (UPAImageCreationWindow)EditorWindow.GetWindow(typeof(UPAImageCreationWindow));
     window.title    = "New Image";
     window.position = new Rect(Screen.width / 2 + 250 / 2f, Screen.height / 2 - 80, 250, 105);
     window.ShowPopup();
 }
 public static void Init()
 {
     // Get existing open window or if none, make new one
     window = (UPAImageCreationWindow)EditorWindow.GetWindow (typeof (UPAImageCreationWindow));
     window.title = "New Image";
     window.position = new Rect(Screen.width/2 + 250/2f,Screen.height/2 - 80, 250, 105);
     window.ShowPopup();
 }
	public static void Init () {
		// Get existing open window or if none, make new one
		window = (UPAImageCreationWindow)EditorWindow.GetWindow (typeof (UPAImageCreationWindow));
		#if UNITY_4_3
		window.title = "New Image";
		#elif UNITY_4_6
		window.title = "New Image";
		#else
		window.titleContent = new GUIContent ("New Image");
		#endif
		window.position = new Rect(Screen.width/2 + 250/2f,Screen.height/2 - 80, 250, 105);
		window.ShowPopup();
	}
 public static void Init()
 {
     // Get existing open window or if none, make new one
     window = (UPAImageCreationWindow)EditorWindow.GetWindow(typeof(UPAImageCreationWindow));
             #if UNITY_4_3
     window.title = "New Image";
             #elif UNITY_4_6
     window.title = "New Image";
             #else
     window.titleContent = new GUIContent("New Image");
             #endif
     window.position = new Rect(Screen.width / 2 + 250 / 2f, Screen.height / 2 - 80, 250, 105);
     window.ShowPopup();
 }