Files
aibis-dream/Assets/Scripts/Utility/GlobalVariableKit.cs
T

17 lines
626 B
C#

namespace AibisDream.Utility
{
public static class GlobalVariableKit
{
public static bool IsPlugHighLight
{
get => !(YarnVariableStorage.Instance.TryGetValue("$global.IsPlugHighLight", out bool res) && res);
set => YarnVariableStorage.Instance.SetValue("$global.IsPlugHighLight", !value);
}
public static bool IsCordHighLight
{
get => !(YarnVariableStorage.Instance.TryGetValue("$global.IsCurdHighLight", out bool res) && res);
set => YarnVariableStorage.Instance.SetValue("$global.IsCurdHighLight", !value);
}
}
}