|
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using UnityEngine; |
|
|
|
using UnityEngine.Timeline; |
|
|
|
|
|
|
|
|
|
|
public class DialogueDataSO : ScriptableObject |
|
|
|
{ |
|
|
|
public List<DialogueLineSO> dialogueLines; |
|
|
|
public List<Choice> Choices; |
|
|
|
|
|
|
|
[Serializable] |
|
|
|
public class Choice |
|
|
|
{ |
|
|
|
[SerializeField] private string _optionName; |
|
|
|
[SerializeField] private DialogueDataSO _response; |
|
|
|
|
|
|
|
public string OptionName { get => _optionName; } |
|
|
|
public DialogueDataSO Response { get => _response; } |
|
|
|
} |