GetComponentBoxed
Gets the component object of a given entity
阅读时间1 分钟最后更新于 19 天前
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 |