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(); } }
private void OnEnable() { Instance = this; }
public static void BuildWindows() { BuildProject.ShowWindow(); }
public static void BuildPC() { BuildProject.BuildPC(); }