959e80cf72
assets upload description.
37 lines
877 B
C#
37 lines
877 B
C#
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
|
|
}
|
|
}
|
|
} |