ComponentGetComponentT Method (String, Boolean) |
Finds a child component by name with the specified type.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public T GetComponent<T>(
string name,
bool onlyEnabledInHierarchy = false
)
Parameters
- name
- Type: SystemString
- onlyEnabledInHierarchy (Optional)
- Type: SystemBoolean
Type Parameters
- T
Return Value
Type:
TSee Also