【a】可视化剧本编辑器 10.StoryEditor
This commit is contained in:
20
Assets/10.StoryEditor/RunTime/VisualEditor/Node/EndNode.cs
Normal file
20
Assets/10.StoryEditor/RunTime/VisualEditor/Node/EndNode.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cysharp.Threading.Tasks;
|
||||
|
||||
namespace Stary.Evo.StoryEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// 结束节点
|
||||
/// </summary>
|
||||
[Serializable, CreateNodeMenu("")]
|
||||
public class EndNode : NodeBase
|
||||
{
|
||||
[Input]
|
||||
public Enter enter;
|
||||
|
||||
/// <summary>
|
||||
/// 导出
|
||||
/// </summary>
|
||||
public new async UniTask<EndNodeData> Export() => new(await base.Export());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user