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