ドキュメント

Unity Engine

Unity Engine

LoadableObjectIdToObject(LoadableObjectId)

Retrieve the Object referenced by a LoadableObjectId.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static Object LoadableObjectIdToObject(LoadableObjectId loadableObjectId)

Parameters

loadableObjectId

The LoadableObjectId to convert.

Returns

Type

Description

ObjectThe 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.