ToEntityId(ObjectIdentifier)
Tries to return the EntityId that represents this ObjectIdentifier.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Build.Content
- Assembly: UnityEditor.CoreModule
public static EntityId ToEntityId(ObjectIdentifier objectId)
Parameters
The object identifier to convert.
Returns
Type | Description |
|---|---|
| EntityId | The EntityId that corresponds to the specified object identifier, or EntityId.None if the object identifier is invalid. |
Remarks
Returns EntityId.None if the ObjectIdentifier is invalid.