arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.collab-proxy@ab839cc7d2ad/Editor/UVCSToolbarButtonIsShownPreference.cs
Daniel 2e704cae70 init
Init Commit Unity
2025-09-25 22:01:28 +02:00

23 lines
592 B
C#

using Unity.PlasticSCM.Editor.UI;
namespace Unity.PlasticSCM.Editor
{
internal static class UVCSToolbarButtonIsShownPreference
{
internal static bool IsEnabled()
{
return BoolSetting.Load(UnityConstants.SHOW_UVCS_TOOLBAR_BUTTON_KEY_NAME, true);
}
internal static void Enable()
{
BoolSetting.Save(true, UnityConstants.SHOW_UVCS_TOOLBAR_BUTTON_KEY_NAME);
}
internal static void Disable()
{
BoolSetting.Save(false, UnityConstants.SHOW_UVCS_TOOLBAR_BUTTON_KEY_NAME);
}
}
}