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