Language
Edit

DataConsumerGOBase.ShouldIncludeInactiveComponentsInChildren Method

Definition

Get whether or not to inactive child components should be included.

protected virtual bool ShouldIncludeInactiveComponentsInChildren();
abstract member ShouldIncludeInactiveComponentsInChildren : unit -> bool
override this.ShouldIncludeInactiveComponentsInChildren : unit -> bool
Protected Overridable Function ShouldIncludeInactiveComponentsInChildren () As Boolean

Returns

Remarks

Allows for using UnityEngine.GameObject.GetComponentsInChildren(System.Type,System.Boolean) with the optional second parameter, if non-active components should be considered. Defaults to only consider active components. This should be overridden if this behavior is not desired by data consumers.

Applies to