This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
ARPlusSystem/ARPlusSystem-250418/Library/PackageCache/com.unity.collab-proxy@2.5.2/Editor/PlasticSCM/CollabMigration/CloudProjectId.cs

22 lines
577 B
C#

using UnityEditor;
namespace Unity.PlasticSCM.Editor.CollabMigration
{
static class CloudProjectId
{
internal static bool HasValue()
{
if (PlasticPlugin.IsUnitTesting)
return false;
return !string.IsNullOrEmpty(GetValue());
}
internal static string GetValue()
{
//disable Warning CS0618 'PlayerSettings.cloudProjectId' is obsolete: 'cloudProjectId is deprecated
#pragma warning disable 0618
return PlayerSettings.cloudProjectId;
}
}
}