예제 #1
0
 public static void ShowWindow()
 {
     if (Instance == null)
     {
         var window = GetWindow <BuildProject>(false, "ProjectBuild", false);
         window.minSize = new Vector2(860f, 660f);
         window.Show();
         Instance = window;
     }
     else
     {
         Instance.Close();
     }
 }
예제 #2
0
 private void OnEnable()
 {
     Instance = this;
 }
예제 #3
0
 public static void BuildWindows()
 {
     BuildProject.ShowWindow();
 }
예제 #4
0
 public static void BuildPC()
 {
     BuildProject.BuildPC();
 }