using System; using UnityEngine; namespace Framework.Input.States { /// Inputs for a visual novel game public class VisualNovelInputState : DialogueInputState { /// Initializes a new input state public VisualNovelInputState() { this.AcceptFirst = new Trigger(); this.AcceptSecond = new Trigger(); this.AcceptThird = new Trigger(); this.AcceptFourth = new Trigger(); this.SkipText = new Trigger(); } /// /// Current state of the 'AcceptFirst' trigger used to pick the first dialogue choice /// [ DefaultKey(KeyCode.Alpha1), Description("Pick first dialogue choice") ] public Trigger AcceptFirst; /// /// Current state of the 'AcceptSecond' trigger used to pick the second dialogue choice /// [ DefaultKey(KeyCode.Alpha2), Description("Pick second dialogue choice") ] public Trigger AcceptSecond; /// /// Current state of the 'AcceptThird' trigger used to pick the third dialogue choice /// [ DefaultKey(KeyCode.Alpha3), Description("Pick third dialogue choice") ] public Trigger AcceptThird; /// /// Current state of the 'AcceptFourth' trigger used to pick the fourth dialogue choice /// [ DefaultKey(KeyCode.Alpha4), Description("Pick fourth dialogue choice") ] public Trigger AcceptFourth; /// /// Current state of the 'Skip' trigger used to skip over dialogue /// [ DefaultKey(KeyCode.LeftControl), Description("Skip over dialogue text") ] public Trigger SkipText; } } // namespace Framework.Input.States