ドキュメント

Unity Engine

Unity Engine

GlobalObjectIdentifierToEntityIdSlow(GlobalObjectId)

Obtains the EntityId of the object from its unique object identifier.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static EntityId GlobalObjectIdentifierToEntityIdSlow(GlobalObjectId id)

Parameters

The
GlobalObjectId
to lookup.

Returns

Type

Description

EntityIdReturns the
EntityId
of the object.

Remarks

This method is slow. Use it sparingly. If you use this method in a large project within other performance-sensitive contexts such as ISerializationCallbackReceiver.OnBeforeSerialize or ISerializationCallbackReceiver.OnAfterDeserialize, it's strongly recommended to profile the performance impact.