private static void Initialize() { PatcherEditor window = GetWindow <PatcherEditor>(); window.titleContent = new GUIContent("Patcher"); window.minSize = new Vector2(300f, 310f); window.Show(); }
private static void Initialize() { PatcherEditor window = GetWindow <PatcherEditor>(); window.titleContent = new GUIContent("Patcher"); window.minSize = new Vector2(300f, 275f); window.c_Name = PatchUtils.IsProjectNameValid(Application.productName) ? Application.productName : "MyProject"; window.c_Version = Application.version; window.Show(); }