29 lines
630 B
C#
29 lines
630 B
C#
|
|
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;
|
||
|
|
}
|
||
|
|
}
|