Files
Test-Multiplayer/Library/PackageCache/com.unity.collab-proxy@1e5e48aff19d/Editor/UVCSToolbarButtonIsShownPreference.cs
pelpanagiotis 329b7d3183 First Commit
2025-12-21 18:31:02 +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);
}
}
}