Version 2.1.0.0

GlobalPersistentContext class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public abstract class GlobalPersistentContext
Context that persists across reloading and restarting Unity.
Inheritance
  • System.Object
  • GlobalPersistentContext

Constructors

GlobalPersistentContext()
Instatiates a persistent context.
protected GlobalPersistentContext()

Properties

TimeStamp
Time stamp for when the persistent context value was last used. Used for purging unused context.
[OdinSerialize]
public long TimeStamp { get; }

Methods

UpdateTimeStamp()
Updates the time stamp to now.
protected void UpdateTimeStamp()
Derived Classes