private void Update() { text.TimeMultiplier = input.ConfirmHeld ? fasterTextSpeed : normalTextSpeed; if (input.CancelPressed) { text.OnCancel(); } if (input.ConfirmPressed) { text.OnConfirm(); } }
public void InputUpdate() { dialogFrameText.TimeMultiplier = input.confirm.IsHeld() ? fasterTextSpeed : normalTextSpeed; if (input.back.IsPressed()) { input.back.Use(); dialogFrameText.OnCancel(); } if (input.confirm.IsPressed()) { input.confirm.Use(); dialogFrameText.OnConfirm(); } }