Click or drag to resize

ComponentGetComponentT Method (String, Boolean)

Finds a child component by name with the specified type.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public T GetComponent<T>(
	string name,
	bool onlyEnabledInHierarchy = false
)

Parameters

name
Type: SystemString
onlyEnabledInHierarchy (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: T
See Also