ToEntityId(ObjectIdentifier)
Tries to return the EntityId that represents this ObjectIdentifier.
阅读时间1 分钟最后更新于 1 个月前
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.