【a】可视化剧本编辑器 10.StoryEditor
This commit is contained in:
29
Assets/10.StoryEditor/RunTime/Data/Graph/GraphData.cs
Normal file
29
Assets/10.StoryEditor/RunTime/Data/Graph/GraphData.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Stary.Evo.StoryEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// 剧本数据
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class GraphData
|
||||
{
|
||||
/// <summary>
|
||||
/// 剧本名称
|
||||
/// </summary>
|
||||
public string name;
|
||||
/// <summary>
|
||||
/// 节点
|
||||
/// </summary>
|
||||
public List<NodeData> nodes = new();
|
||||
/// <summary>
|
||||
/// 起始节点索引
|
||||
/// </summary>
|
||||
public int startNodeIndex;
|
||||
/// <summary>
|
||||
/// 资源加载类型
|
||||
/// </summary>
|
||||
public string resourceType;
|
||||
}
|
||||
}
|
||||
11
Assets/10.StoryEditor/RunTime/Data/Graph/GraphData.cs.meta
Normal file
11
Assets/10.StoryEditor/RunTime/Data/Graph/GraphData.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c69fad22bb97abf42a50d1b2d0e74a42
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user