ComponentGetComponentInChildrenT Method |
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
Namespace:
SampSharp.Entities
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic T GetComponentInChildren<T>()
where T : Component
Type Parameters
- T
- The type of the component to find.
Return Value
Type:
TThe found component or
null if no component of the specified type could be found.
See Also