DataConsumerGOBase.ShouldIncludeInactiveComponentsInChildren Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.