GetTransformRef(Entity, bool)
Gets the TransformRef of an entity.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public TransformRef GetTransformRef(Entity entity, bool isReadOnly)
Parameters
Returns
Type | Description |
|---|---|
| TransformRef | The TransformRef to the entity. |
Remarks
Using this method registers a read-only or read/write dependency for the system on TransformRef, based on the value passed to .
isReadOnly