Version: 2022.2

GlobalObjectId.GlobalObjectIdentifierToObjectSlow

切换到手册
public static Object GlobalObjectIdentifierToObjectSlow (GlobalObjectId id);

参数

id 要查找的 GlobalObjectId。

返回

Object If the GlobalObjectId is found, this method returns the converted Object reference. Returns null if the GlobalObjectId is not found. Returns null when the object is inside a scene that is not loaded.

描述

将 GlobalObjectId 转换为对象引用。

This call is slow and should be avoided or used sparingly.
See Also: GlobalObjectIdentifiersToObjectsSlow