1
This commit is contained in:
20
unity/Assets/Script/DialogSystem/DialogNode.cs
Normal file
20
unity/Assets/Script/DialogSystem/DialogNode.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user