ドキュメント

Unity Engine

Unity Engine

ToObject(ObjectIdentifier)

Tries to find, load, and return the Object that represents this ObjectIdentifier.
読み終わるまでの所要時間 1 分最終更新 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.