private void Setup(string text, System.Action del, string id) { _canvasGroup.SetActive(true); _text.text = text; _clickDel = del; _displaying.AddValue(true, id); }
public static void CursorUnlock(string id) { _cursorUnlocked.AddValue(true, id); Cursor.lockState = CursorLockMode.None; UICursor.main.SetCursor(UICursor.DefaultCursor); //if (!GameOptions.MouseLook) { // return; //} }
public static void Pause(string id) { _paused.AddValue(true, id); }
public virtual void DisableMove(string id) { _moveEnabled.AddValue(false, id); }
public static void DisableGameplayUi(string id) { SetGameplayStatus(false); _gameplayUiStatus.AddValue(false, id); }