Exists(Entity)
Reports whether the specified Entity instance still refers to a valid entity.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public bool Exists(Entity entity)
Parameters
The entity.
Returns
Type | Description |
|---|---|
| bool | True if the entity exists and is valid, and returns false if the Entity instance refers to an entity that has been destroyed. |