InstanceIDToObject(int)
Translates an instance ID to a reference to an object.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static Object InstanceIDToObject(int instanceID)
Parameters
Returns
Type | Description |
|---|---|
| Object |
Remarks
If the object is not loaded from disk, loads it from disk.

Editor Window to enter the instance ID and print the name of the object.