Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/Unity/Farmlanders/Library/PackageCache/com.unity.collab-proxy@1.17.7/Editor/PlasticSCM/PlasticProjectOfflineMode.cs
2023-07-31 21:20:56 +02:00

29 lines
674 B
C#

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