Files
Cielonos/Assets/Scripts/SLSUtilities/Narrative/Base/Data/VariableData.cs
SoulliesOfficial 8186f54e90 新场景,剧情
2026-06-02 12:55:39 -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>();
}
}