Version: 2023.2

Resources.InstanceIDToObject

切换到手册
public static Object InstanceIDToObject (int instanceID);

参数

instanceID Instance ID of an Object.

返回

Object Resolved reference or null if the instance ID didn't match anything.

描述

Translates an instance ID to an object reference.