ComponentGetComponent Method (Type, Boolean, Boolean) |
Finds a child component of the specified type.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public Component GetComponent(
Type componentClass,
bool checkChildren = false,
bool onlyEnabledInHierarchy = false
)
Parameters
- componentClass
- Type: SystemType
- checkChildren (Optional)
- Type: SystemBoolean
- onlyEnabledInHierarchy (Optional)
- Type: SystemBoolean
Return Value
Type:
ComponentSee Also