Firstborn/Assets/RPG Creation Kit/Scripts/Dialogue System/Nodes/ToOrder/ChangeDialogueNode.cs

37 lines
877 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XNode;
using RPGCreationKit.DialogueSystem;
using RPGCreationKit;
namespace RPGCreationKit.DialogueSystem
{
[CreateNodeMenu("Dialogue System/Change Dialogue", order = 3)]
public class ChangeDialogueNode : DialogueNode
{
public DialogueGraph newDialogue;
public bool onNPCWhosSpeaking = true;
public string npcRef = "";
public bool startDialogueImmediatly = false;
// Use this for initialization
protected override void Init()
{
base.Init();
}
public override void Trigger()
{
}
// Return the correct value of an output port when requested
public override object GetValue(NodePort port)
{
return null; // Replace this
}
}
}