Click or drag to resize

ComponentGetComponent Method (MetadataTypeInfo, 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(
	MetadataTypeInfo componentClass,
	bool checkChildren = false,
	bool onlyEnabledInHierarchy = false
)

Parameters

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

Return Value

Type: Component
See Also