public static void Init () { if ( Instance != null ) Instance.Close(); // Get existing open window or if none, make a new one: Instance = EditorWindow.GetWindow<GitCommitWindow>(true, "Git Commit"); Instance.InitFiles(true); }
public static void Init() { if (Instance != null) { Instance.Close(); } // Get existing open window or if none, make a new one: Instance = EditorWindow.GetWindow <GitCommitWindow>(true, "Git Commit"); Instance.InitFiles(true); }
static void GitCommit() { GitCommitWindow.Init(); }