TemporaryPropertyContext<T>

A temporary contextual value attached to an InspectorProperty, mapped to a key, contained in a PropertyContextContainer.

The value of a TemporaryPropertyContext<T> will be reset at the start of each GUI frame.

namespace Sirenix.OdinInspector.Editor
{
public sealed class TemporaryPropertyContext<T> : ITemporaryContext
}

Requirements

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

See Also

Static Methods

Return Type Definition Description
T op_Explicit(TemporaryPropertyContext<T>) Performs an explicit conversion from TemporaryPropertyContext<T> to !:T.

Fields

Return Type Definition Description
T Value The contained value.

Methods

Return Type Definition Description
void Reset() Resets the value of the context.
string ToString() Returns a String that represents this instance, of the format " TemporaryPropertyContext<T>: Value.ToString()".