ToObject(ObjectIdentifier)
Tries to find, load, and return the Object that represents this ObjectIdentifier.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Build.Content
- Assembly: UnityEditor.CoreModule
public static Object ToObject(ObjectIdentifier objectId)
Parameters
Returns
Type | Description |
|---|---|
| Object |
Remarks
Returns null if the Object cannot be found or loaded. This can happen if the asset that contains the Object identified was deleted or the ObjectIdentifier is invalid.