ComponentGetComponent Method (String, Boolean) |
Finds a child component by name.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public Component GetComponent(
string name,
bool onlyEnabledInHierarchy = false
)
Parameters
- name
- Type: SystemString
- onlyEnabledInHierarchy (Optional)
- Type: SystemBoolean
Return Value
Type:
ComponentSee Also