Version 2.1.0.0

GlobalPersistentContext<T> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public sealed class GlobalPersistentContext<T> : GlobalPersistentContext
Context that persists across reloading and restarting Unity.
Inheritance

Type Parameters

T

The type of the context value.

Constructors

GlobalPersistentContext()
public GlobalPersistentContext()

Properties

Value
The value of the context.
public T Value { get; set; }

Methods

Create()
Creates a new persistent context object.
public static GlobalPersistentContext<T> Create()
ToString()
Formats a string with the time stamp, and the value.
public override string ToString()
Returns
System.String