Click or drag to resize

ComponentGetComponentT Method (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 T GetComponent<T>(
	bool checkChildren = false,
	bool onlyEnabledInHierarchy = false
)
where T : class

Parameters

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

Type Parameters

T

Return Value

Type: T
See Also