void Update() { if (Input.GetKeyDown(KeyCode.T) && !PauseController.isGamePaused) { inputField.ActivateInputField(); inputField.Select(); isTyping = true; controller.SetPlayerLocked(true); } }
void Start() { controller.SetPlayerLocked(false); isGamePaused = false; }