Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

20 řádky
482 B

  1. using System.IO;
  2. using UnityEngine;
  3. namespace UnifiedIO.SystemIO.Internal
  4. {
  5. public static class Path
  6. {
  7. public static string BaseFolder = Application.persistentDataPath;
  8. public static string GetFullPath(string path)
  9. {
  10. if (path.StartsWith("/") || path.StartsWith("\\"))
  11. {
  12. path = path.Substring(1);
  13. }
  14. return System.IO.Path.Combine(BaseFolder, path);
  15. }
  16. }
  17. }