test
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using UnityEditor;
|
||||
|
||||
namespace Unity.PlasticSCM.Editor
|
||||
{
|
||||
internal static class VCSPlugin
|
||||
{
|
||||
internal static bool IsEnabled()
|
||||
{
|
||||
return GetVersionControl() == "PlasticSCM";
|
||||
}
|
||||
|
||||
internal static void Disable()
|
||||
{
|
||||
SetVersionControl("Visible Meta Files");
|
||||
|
||||
AssetDatabase.SaveAssets();
|
||||
}
|
||||
|
||||
static string GetVersionControl()
|
||||
{
|
||||
return VersionControlSettings.mode;
|
||||
}
|
||||
|
||||
static void SetVersionControl(string versionControl)
|
||||
{
|
||||
VersionControlSettings.mode = versionControl;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user