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

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.