// Token: 0x060008FF RID: 2303 RVA: 0x000079F9 File Offset: 0x00005BF9 public static void ReleaseLock(GuiDepth depth) { if (GuiLockController.IsApplicationLocked) { return; } if (GuiLockController.IsEnabled && GuiLockController.LockingDepth == depth) { GuiLockController.IsEnabled = false; AutoMonoBehaviour <GuiLockController> .Instance.enabled = GuiLockController.IsEnabled; GuiLockController.EnableNguiControls(true); } }
// Token: 0x060008FE RID: 2302 RVA: 0x000395D8 File Offset: 0x000377D8 public static void EnableLock(GuiDepth depth) { if (GuiLockController.IsApplicationLocked) { return; } if (!GuiLockController.IsEnabled || GuiLockController.LockingDepth > depth) { GuiLockController.LockingDepth = depth; GuiLockController.IsEnabled = true; AutoMonoBehaviour <GuiLockController> .Instance.enabled = GuiLockController.IsEnabled; GuiLockController.EnableNguiControls(false); } }