Home > @esengine/ecs-framework-monorepo > SoAStorage > getComponent
SoAStorage.getComponent() method
Signature:
typescript
getComponent(entityId: number): T | null;
Parameters
Parameter | Type | Description |
---|---|---|
entityId | number |
Returns:
T | null