21 lines
371 B
C#
21 lines
371 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
public enum CharacterType
|
|
{
|
|
Npc,
|
|
Player,
|
|
}
|
|
[Serializable]
|
|
public class DialogNode
|
|
{
|
|
public int npcID;
|
|
public int ToId;
|
|
public CharacterType type;
|
|
public string characterName;
|
|
public Sprite characterSprite;
|
|
[TextArea]
|
|
public string dialog;
|
|
}
|