【a】可视化剧本编辑器 10.StoryEditor
This commit is contained in:
42
Assets/10.StoryEditor/RunTime/NodeEnum.cs
Normal file
42
Assets/10.StoryEditor/RunTime/NodeEnum.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using Sirenix.OdinInspector;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Stary.Evo.StoryEditor
|
||||
{
|
||||
public enum NodeType
|
||||
{
|
||||
/// <summary>
|
||||
/// 空节点(流程节点)
|
||||
/// </summary>
|
||||
Empty,
|
||||
/// <summary>
|
||||
/// 起始节点
|
||||
/// </summary>
|
||||
Begin,
|
||||
/// <summary>
|
||||
/// 结束节点
|
||||
/// </summary>
|
||||
End,
|
||||
/// <summary>
|
||||
/// 剧本段落
|
||||
/// </summary>
|
||||
Paragraph
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 节点执行类型
|
||||
/// </summary>
|
||||
public enum NodeExecuteType
|
||||
{
|
||||
/// <summary>
|
||||
/// 异步
|
||||
/// </summary>
|
||||
[LabelText("异步"), Tooltip("异步执行意味着Exit连接的多条支路将同时进行")]
|
||||
Async,
|
||||
/// <summary>
|
||||
/// 同步
|
||||
/// </summary>
|
||||
[LabelText("同步"), Tooltip("同步执行意味着Exit连接的多条支路将依次进行")]
|
||||
Sync
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user