Version 3.3.1.2

GroupVisibilityStateUpdater<TAttr> class

Namespace: Sirenix.OdinInspector.Editor.StateUpdaters
Assembly: Sirenix.OdinInspector.Editor
public sealed class GroupVisibilityStateUpdater<TAttr> : AttributeStateUpdater<TAttr>, IOnChildStateChangedNotification where TAttr : PropertyGroupAttribute
Inheritance

Type Parameters

TAttr

Constructors

GroupVisibilityStateUpdater()
public GroupVisibilityStateUpdater()

Methods

AreAnyChildrenVisible()
public bool AreAnyChildrenVisible()
Returns
System.Boolean

CanUpdateProperty(InspectorProperty)
public override bool CanUpdateProperty(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Boolean

Initialize()
protected override void Initialize()
OnChildStateChanged(Int32, String)
public void OnChildStateChanged(int childIndex, string state)
Parameters
System.Int32 childIndex

System.String state

OnStateUpdate()
public override void OnStateUpdate()
UpdateVisibility()
public void UpdateVisibility()