No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CloudProjectId.cs 577B

12345678910111213141516171819202122
  1. using UnityEditor;
  2. namespace Unity.PlasticSCM.Editor.CollabMigration
  3. {
  4. static class CloudProjectId
  5. {
  6. internal static bool HasValue()
  7. {
  8. if (PlasticPlugin.IsUnitTesting)
  9. return false;
  10. return !string.IsNullOrEmpty(GetValue());
  11. }
  12. internal static string GetValue()
  13. {
  14. //disable Warning CS0618 'PlayerSettings.cloudProjectId' is obsolete: 'cloudProjectId is deprecated
  15. #pragma warning disable 0618
  16. return PlayerSettings.cloudProjectId;
  17. }
  18. }
  19. }