기술 자료

Unity Engine

Unity Engine

ToObject(ObjectIdentifier)

Tries to find, load, and return the Object that represents this ObjectIdentifier.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static Object ToObject(ObjectIdentifier objectId)

Parameters

The object identifier to convert.

Returns

Type

Description

ObjectThe object that the specified object identifier references.

Remarks

Returns null if the Object cannot be found or loaded. This can happen if the asset that contains the Object identified was deleted or the ObjectIdentifier is invalid.