Version 3.0.0.2

PropertyState class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public sealed class PropertyState
Inheritance
  • System.Object
  • PropertyState

Constructors

PropertyState(InspectorProperty, Int32)
public PropertyState(InspectorProperty property, int index)
Parameters
InspectorProperty property

System.Int32 index

Fields

LogChanges
public bool LogChanges

Properties

Enabled
public bool Enabled { get; set; }
EnabledLastLayout
public bool EnabledLastLayout { get; }
Expanded
public bool Expanded { get; set; }
ExpandedLastLayout
public bool ExpandedLastLayout { get; }
Visible
public bool Visible { get; set; }
VisibleLastLayout
public bool VisibleLastLayout { get; }

Methods

CleanForCachedReuse()
public void CleanForCachedReuse()
Create<T>(String, Boolean, T)
public void Create<T>(string key, bool persistent, T defaultValue)
Parameters
System.String key

System.Boolean persistent

T defaultValue

Type Parameters
T

Get<T>(String)
public T Get<T>(string key)
Parameters
System.String key

Returns
T

Type Parameters
T

GetLastLayout<T>(String)
public T GetLastLayout<T>(string key)
Parameters
System.String key

Returns
T

Type Parameters
T

Reset()
public void Reset()
Set<T>(String, T)
public void Set<T>(string key, T value)
Parameters
System.String key

T value

Type Parameters
T