説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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