同步
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using Sirenix.OdinInspector;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SLSUtilities.Narrative
|
||||
{
|
||||
[CreateAssetMenu(fileName = "StoryVariableData", menuName = "SLSUtilities/Story System/Variable Data")]
|
||||
public class VariableData : SerializedScriptableObject
|
||||
{
|
||||
[Title("变量数据", titleAlignment: TitleAlignments.Centered)]
|
||||
|
||||
[Searchable]
|
||||
public Dictionary<string, bool> boolVariables = new Dictionary<string, bool>();
|
||||
|
||||
[Searchable]
|
||||
public Dictionary<string, int> intVariables = new Dictionary<string, int>();
|
||||
|
||||
[Searchable]
|
||||
public Dictionary<string, float> floatVariables = new Dictionary<string, float>();
|
||||
|
||||
[Searchable]
|
||||
public Dictionary<string, string> stringVariables = new Dictionary<string, string>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user