22 lines
505 B
C#
22 lines
505 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
namespace Dialogue
|
|||
|
|
{
|
|||
|
|
[Serializable]
|
|||
|
|
public class RuntimeDialogueGraph : ScriptableObject
|
|||
|
|
{
|
|||
|
|
public string entryNodeID;
|
|||
|
|
public string speakerName;
|
|||
|
|
public List<RuntimeDialogueNode> allNodes = new List<RuntimeDialogueNode>();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[Serializable]
|
|||
|
|
public class RuntimeDialogueNode
|
|||
|
|
{
|
|||
|
|
public string nodeID;
|
|||
|
|
public string dialogueLine;
|
|||
|
|
public string nextNodeID;
|
|||
|
|
}
|
|||
|
|
}
|