UnityEditor.CacheServerPreferences.IsCollabCacheEnabled C# (CSharp) Method

IsCollabCacheEnabled() private static method

private static IsCollabCacheEnabled ( ) : bool
return bool
        private static bool IsCollabCacheEnabled()
        {
            return (s_EnableCollabCacheConfiguration || Application.HasARGV("enableCacheServer"));
        }

Usage Example

 public static void ReadPreferences()
 {
     CacheServerPreferences.s_CacheServerIPAddress = EditorPrefs.GetString("CacheServerIPAddress", CacheServerPreferences.s_CacheServerIPAddress);
     CacheServerPreferences.s_CacheServerMode      = (CacheServerPreferences.CacheServerMode)EditorPrefs.GetInt("CacheServerMode", (!EditorPrefs.GetBool("CacheServerEnabled")) ? 2 : 1);
     CacheServerPreferences.s_LocalCacheServerSize = EditorPrefs.GetInt("LocalCacheServerSize", 10);
     CacheServerPreferences.s_CachePath            = EditorPrefs.GetString("LocalCacheServerPath");
     CacheServerPreferences.s_EnableCustomPath     = EditorPrefs.GetBool("LocalCacheServerCustomPath");
     if (CacheServerPreferences.IsCollabCacheEnabled())
     {
         CacheServerPreferences.s_CollabCacheIPAddress = EditorPrefs.GetString("CollabCacheIPAddress", CacheServerPreferences.s_CollabCacheIPAddress);
         CacheServerPreferences.s_CollabCacheEnabled   = EditorPrefs.GetBool("CollabCacheEnabled");
     }
 }
All Usage Examples Of UnityEditor.CacheServerPreferences::IsCollabCacheEnabled