Click or drag to resize

ComponentGetComponent Method (Type, Boolean, Boolean)

Finds a child component of the specified type.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Component GetComponent(
	Type componentClass,
	bool checkChildren = false,
	bool onlyEnabledInHierarchy = false
)

Parameters

componentClass
Type: SystemType
checkChildren (Optional)
Type: SystemBoolean
onlyEnabledInHierarchy (Optional)
Type: SystemBoolean

Return Value

Type: Component
See Also