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