Method GetComponentObject
GetComponentObject<T>(Entity)
Declaration
[NotBurstCompatible]
public T GetComponentObject<T>(Entity entity)
 
Parameters
| Type | 
Name | 
Description | 
| Entity | 
entity | 
The entity. 
 | 
Returns
| Type | 
Description | 
| T | 
The managed object, cast to type T. 
 | 
Type Parameters
| Name | 
Description | 
| T | 
The type of the managed object. 
 | 
GetComponentObject<T>(Entity, ComponentType)
Declaration
[NotBurstCompatible]
public T GetComponentObject<T>(Entity entity, ComponentType componentType)
 
Parameters
Returns
Type Parameters