A game about forced loneliness, made by TACStudios
at master 695 B view raw
1using Unity.PlasticSCM.Editor.UI; 2 3namespace Unity.PlasticSCM.Editor 4{ 5 internal static class PlasticPluginIsEnabledPreference 6 { 7 internal static bool IsEnabled() 8 { 9 return BoolSetting.Load( 10 UnityConstants.PLASTIC_PLUGIN_IS_ENABLED_KEY_NAME, 11 true); 12 } 13 14 internal static void Enable() 15 { 16 BoolSetting.Save( 17 true, 18 UnityConstants.PLASTIC_PLUGIN_IS_ENABLED_KEY_NAME); 19 } 20 21 internal static void Disable() 22 { 23 BoolSetting.Save( 24 false, 25 UnityConstants.PLASTIC_PLUGIN_IS_ENABLED_KEY_NAME); 26 } 27 } 28}