PersistentContext

Provides context objects that still persist when Unity reloads or is restartet.

namespace Sirenix.OdinInspector.Editor
{
public static class PersistentContext
}

Requirements

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

Static Methods

Return Type Definition Description
bool Get<TKey1, TKey2, TKey3, TKey4, TKey5, TValue>(TKey1, TKey2, TKey3, TKey4, TKey5, ref GlobalPersistentContext<TValue>) Gets a GlobalPersistentContext object for the specified keys. Returns true when the context is first created. Otherwise false.
GlobalPersistentContext<TValue> Get<TKey1, TKey2, TKey3, TKey4, TKey5, TValue>(TKey1, TKey2, TKey3, TKey4, TKey5, TValue) Gets a GlobalPersistentContext object for the specified keys.
bool Get<TKey1, TKey2, TKey3, TKey4, TValue>(TKey1, TKey2, TKey3, TKey4, ref GlobalPersistentContext<TValue>) Gets a GlobalPersistentContext object for the specified keys. Returns true when the context is first created. Otherwise false.
GlobalPersistentContext<TValue> Get<TKey1, TKey2, TKey3, TKey4, TValue>(TKey1, TKey2, TKey3, TKey4, TValue) Gets a GlobalPersistentContext object for the specified keys.
bool Get<TKey1, TKey2, TKey3, TValue>(TKey1, TKey2, TKey3, ref GlobalPersistentContext<TValue>) Gets a GlobalPersistentContext object for the specified keys. Returns true when the context is first created. Otherwise false.
GlobalPersistentContext<TValue> Get<TKey1, TKey2, TKey3, TValue>(TKey1, TKey2, TKey3, TValue) Gets a GlobalPersistentContext object for the specified keys.
bool Get<TKey1, TKey2, TValue>(TKey1, TKey2, ref GlobalPersistentContext<TValue>) Gets a GlobalPersistentContext object for the specified keys. Returns true when the context is first created. Otherwise false.
GlobalPersistentContext<TValue> Get<TKey1, TKey2, TValue>(TKey1, TKey2, TValue) Gets a GlobalPersistentContext object for the specified keys.
bool Get<TKey1, TValue>(TKey1, ref GlobalPersistentContext<TValue>) Gets a GlobalPersistentContext object for the specified key. Returns true when the context is first created. Otherwise false.
GlobalPersistentContext<TValue> Get<TKey1, TValue>(TKey1, TValue) Gets a GlobalPersistentContext object for the specified key.