PersistentContextCache

Persistent Context cache object.

namespace Sirenix.OdinInspector.Editor
{
[UnityEditor.InitializeOnLoadAttribute]
[Sirenix.Utilities.GlobalConfigAttribute(UseAsset = False)]
public class PersistentContextCache : GlobalConfig<PersistentContextCache>
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 1.0.6.1

Properties

Return Type Definition Description
int CacheSize Estimated cache size in bytes.
bool EnableCaching If true then persistent context is disabled entirely.
int EntryCount The current number of context entries in the cache.
int MaxCacheByteSize The max size of the cache in bytes.
bool WriteToFile If true the context will be saved to a file in the temp directory.

Methods

Return Type Definition Description
void DeleteCache() Delete the persistent cache file.