Version 3.3.1.2

OdinDrawerExtensions class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public static class OdinDrawerExtensions
OdinDrawer extensions.
Inheritance
  • System.Object
  • OdinDrawerExtensions

Methods

GetPersistentValue<T>(OdinDrawer, String, T)
Gets a persistent value that will survive past multiple Unity Editor Application sessions. The value is stored in the PersistentContextCache, which has a customizable max cache size.
public static LocalPersistentContext<T> GetPersistentValue<T>(this OdinDrawer drawer, string key, T defaultValue = null)
Parameters
OdinDrawer drawer

System.String key

T defaultValue

Type Parameters
T