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.

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