Files
ichni_Official/Assets/Scripts/SLSUtilities/Narrative/Base/Data/VariableData.cs
SoulliesOfficial 021e76efe7 同步
2026-06-09 11:21:59 -04:00

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>();
}
}