using System; using UnityEngine; namespace Framework.Input.States { /// Inputs for pausing the game and skipping cutscenes public class CinematicInputState { /// Initializes a new input state public CinematicInputState() { this.Pause = new Trigger(); this.Skip = new Trigger(); } /// Pause the game or the currently playing cutscene [ DefaultKey(KeyCode.Space), DefaultKey(KeyCode.Joystick1Button4), Description("Pause the game or the current cutscene") ] public Trigger Pause; /// Skip over the currently playing cutscene [ DefaultKey(KeyCode.Escape), DefaultKey(KeyCode.Joystick1Button5), Description("Skip over cutscenes") ] public Trigger Skip; } } // namespace Framework.Input.States