public void ContinueText(InputAction.CallbackContext context) { if (context.started && Time.time > _toleratedTime) { switch (inputState) { case InputState.Normal: dialogueUiManager.MarkLineComplete(); break; case InputState.Shelving: break; case InputState.Pause: break; default: throw new ArgumentOutOfRangeException(); } } }