Пример #1
0
        public static void Init()
        {
            LockedPopup window = ScriptableObject.CreateInstance <LockedPopup>();

            window.position = new Rect(Screen.width / 2, Screen.height / 2, 250, 150);
            window.ShowPopup();
        }
Пример #2
0
 private static void CheckGitLfsLock(string file)
 {
     if (GitLockManger.CheckLocks(file))
     {
         LockedPopup.Init();
     }
 }
Пример #3
0
        public static void LockFile(string file)
        {
            if (CheckLocks(file))
            {
                LockedPopup.Init();
                return;
            }

            Execute(_lockFile + "\"" + file + "\"");
        }