implicit operator EntityId(Entity)
Converts an entity to the EntityId with the same index and version.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Operator
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
implicit operator EntityId(EntityI)
public static implicit operator EntityId(Entity entity)
Parameters
The entity to convert.
Returns
Type | Description |
|---|---|
| EntityId | The corresponding EntityId. |