기술 자료

Unity Engine

Unity Engine

LoadableObjectIdToObject(LoadableObjectId)

Retrieve the Object referenced by a LoadableObjectId.
읽는 시간 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.