暫無描述
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.

ApplicationDataPath.cs 540B

123456789101112131415161718192021222324
  1. using UnityEngine;
  2. namespace Unity.PlasticSCM.Editor
  3. {
  4. internal static class ApplicationDataPath
  5. {
  6. internal static string Get()
  7. {
  8. return mApplicationDataPath ?? Application.dataPath;
  9. }
  10. internal static void InitializeForTesting(string applicationDataPath)
  11. {
  12. mApplicationDataPath = applicationDataPath;
  13. }
  14. internal static void Reset()
  15. {
  16. mApplicationDataPath = null;
  17. }
  18. static string mApplicationDataPath;
  19. }
  20. }