GetComponentBoxed
Gets the component object of a given entity
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
GetComponentBoxed(Entity, ComponentType)
Gets the component object of a given entity
public object GetComponentBoxed(Entity entity, ComponentType type)
Parameters
Returns
Type | Description |
|---|---|
| Object | The component object |
GetComponentBoxed(Entity, Type)
Gets the component object of a given entity based on the type
public object GetComponentBoxed(Entity entity, Type type)
Parameters
Returns
Type | Description |
|---|---|
| Object | The component object |