using EasyTalk.Nodes.Core; using System; using UnityEngine; namespace EasyTalk.Nodes.Common { /// /// A node used for writing story and implementing custom logic. /// [Serializable] public class StoryNode : Node, DialogueFlowNode { /// /// The story summary. /// [SerializeField] private string summary = "Story summary goes here..."; /// /// Creates a new StoryNode. /// public StoryNode() { this.name = "STORY"; this.nodeType = NodeType.STORY; } /// /// Gets or sets the summary. /// public string Summary { get { return this.summary; } set { this.summary = value; } } /// public NodeConnection GetFlowInput() { return Inputs[0]; } /// public NodeConnection GetFlowOutput() { return Outputs[0]; } } }