first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(menuName = "Lab05/Dialogue Data", fileName = "DialogueData")]
|
||||
public class DialogueData : ScriptableObject
|
||||
{
|
||||
public string npcName;
|
||||
[TextArea(2, 5)] public string greeting;
|
||||
public List<DialogueResponse> responses = new List<DialogueResponse>();
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class DialogueResponse
|
||||
{
|
||||
public string text;
|
||||
public QuestData questToStart;
|
||||
}
|
||||
Reference in New Issue
Block a user