IsValid()
Determines whether this EntityId is set to a value other than EntityId.None.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool IsValid()
Returns
Type | Description |
|---|---|
| bool | True if this EntityId is valid; otherwise, false. |
Remarks
A valid isn't necessarily the identifier of an object that is currently loaded. To check whether the identified object is loaded, use .
EntityIdResources.EntityIdIsValid