40 lines
915 B
C#
40 lines
915 B
C#
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
|
|
namespace UnityTest.ZXL
|
|
{
|
|
[System.Serializable]
|
|
public struct DialogueData
|
|
{
|
|
[ShowInInspector] public int index;
|
|
public DialogueType dialogueType;
|
|
public string content;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public struct DialogueContentData
|
|
{
|
|
public DialogueType dialogueType;
|
|
public string content;
|
|
public string clipName;
|
|
public Animator animator;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public struct DialogueData2
|
|
{
|
|
public int index;
|
|
public DialogueContentData left;
|
|
public DialogueContentData right;
|
|
}
|
|
|
|
public enum DialogueType
|
|
{
|
|
校实验室管理处负责老师K,
|
|
学院安全总负责人H,
|
|
学院应急处置小组负责人J,
|
|
火警119,
|
|
实验负责老师F,
|
|
实验组安全负责人同学G,
|
|
}
|
|
} |