InstanceIDIsValid(int)
Returns true if the given instance ID corresponds to a valid Object in memory. The Object could have been deleted or not loaded into memory yet.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool InstanceIDIsValid(int instanceId)
Parameters
Returns
Type | Description |
|---|---|
| bool |