EntityExists(Entity)
Reports whether the specified entity exists. Does not consider whether this buffer exists on the given entity.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public bool EntityExists(Entity entity)
Parameters
The referenced entity.
Returns
Type | Description |
|---|---|
| bool | True if the entity exists, regardless of whether this entity has the given buffer. |
Remarks
Additional Resources: BufferLookup<T>.TryGetBuffer