LoadableObjectIdToObject(LoadableObjectId)
Retrieve the Object referenced by a LoadableObjectId.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static Object LoadableObjectIdToObject(LoadableObjectId loadableObjectId)
Parameters
The LoadableObjectId to convert.
Returns
Type | Description |
|---|---|
| Object | The Unity Object referenced by the LoadableObjectId, or null if the reference is invalid. |
Remarks
This method returns the object in the Editor source asset, not the object in the build output.