24 lines
850 B
C#
24 lines
850 B
C#
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>();
|
|
}
|
|
} |