Click or drag to resize

EntityManagerGetComponentsInChildrenT Method

Gets all components of the specified type T attached to a child entity of the specified entity.

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public T[] GetComponentsInChildren<T>(
	EntityId entity
)
where T : Component

Parameters

entity
Type: SampSharp.EntitiesEntityId

[Missing <param name="entity"/> documentation for "M:SampSharp.Entities.EntityManager.GetComponentsInChildren``1(SampSharp.Entities.EntityId)"]

Type Parameters

T
The type of the components to find.

Return Value

Type: T
A collection of the found components.

Implements

IEntityManagerGetComponentsInChildrenT(EntityId)
See Also