Beispiel #1
0
   public static string GetHomeDirectory()
   {
 #if UNITY_ANDROID && !UNITY_EDITOR
       return(DirectoryHelpers.GetAndroidExternalStorageDirectory());
 #else
       return(Directory.GetCurrentDirectory());
 #endif
   }
Beispiel #2
0
 void Awake()
 {
     WorkingDirectory = new DirectoryInfo(DirectoryHelpers.GetHomeDirectory());
     breadcrumbTrail.OnBreadcrumbChosen += OnBreadcrumbChosen;
     pagePrefabName = pagePrefab.name;
 }