UnityEditor.OSUtil.GetDefaultCachePath C# (CSharp) Метод

GetDefaultCachePath() приватный Метод

private GetDefaultCachePath ( ) : string
Результат string
        public static extern string GetDefaultCachePath();
    }

Usage Example

Пример #1
0
        public static string GetCacheLocation()
        {
            var cachePath        = EditorPrefs.GetString(PathKey);
            var enableCustomPath = EditorPrefs.GetBool(CustomPathKey);
            var result           = cachePath;

            if (!enableCustomPath || string.IsNullOrEmpty(cachePath))
            {
                result = Paths.Combine(OSUtil.GetDefaultCachePath(), "CacheServer");
            }
            return(result);
        }
All Usage Examples Of UnityEditor.OSUtil::GetDefaultCachePath