public static void Init(string label, string command)
    {
        // Get existing open window or if none, make a new one:
        Instance = EditorWindow.GetWindow<GitValueSettingWindow>(true, label);

        Instance.label = label;
        Instance.command = command;
    }
    public static void Init(string label, string command)
    {
        // Get existing open window or if none, make a new one:
        Instance = EditorWindow.GetWindow <GitValueSettingWindow>(true, label);

        Instance.label   = label;
        Instance.command = command;
    }
Beispiel #3
0
 static void SetPackSize()
 {
     GitValueSettingWindow.Init("Pack size limit", "pack.packSizeLimit");
 }
Beispiel #4
0
 static void AutoGCValue()
 {
     GitValueSettingWindow.Init("GC Auto Value", "gc.auto");
 }