private void Update() { if (presenter == null) { return; } if (Input.GetKeyDown(toogleKey)) { if (presenter.IsActive) { GlobalInput.SetCharacterMode(); presenter.Deactivate(); } else { GlobalInput.SetInterfaceMode(); presenter.Activate(); } } }
private void Resume() { View.Disable(); GlobalInput.SetCharacterMode(); }