This commit is contained in:
SoulliesOfficial
2026-06-09 11:21:59 -04:00
parent 7c60c40d6b
commit 021e76efe7
493 changed files with 50500 additions and 2211 deletions

View File

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