Click or drag to resize

ComponentGetComponentT(String, Boolean) Method

Finds a child component by name with the specified type.

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

Parameters

name  String
onlyEnabledInHierarchy  Boolean  (Optional)

Type Parameters

T

Return Value

T
See Also