using EasyTalk.Nodes.Core; using System; using UnityEngine; namespace EasyTalk.Nodes.Flow { /// /// A node which pauses dialogue playback when encountered. /// [Serializable] public class PauseNode : Node, DialogueFlowNode { /// /// A string to pass to callback methods when the pause node is encountered. /// [SerializeField] private string signalId = "signal"; /// /// Creates a new Pause node. /// public PauseNode() { this.name = "PAUSE"; this.nodeType = NodeType.PAUSE; } /// public NodeConnection GetFlowInput() { return Inputs[0]; } /// public NodeConnection GetFlowOutput() { return Outputs[0]; } /// /// Gets or sets the signal string for the Pause node. /// public string Signal { get { return signalId; } set { signalId = value; } } } }