ComponentGetComponentT(String, Boolean) Method |
Finds a child component by name with the specified type.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic T GetComponent<T>(
string name,
bool onlyEnabledInHierarchy = false
)
Parameters
- name String
- onlyEnabledInHierarchy Boolean (Optional)
Type Parameters
- T
Return Value
T
See Also