Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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. }