기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


InstanceIDToObject(int)

Translates an instance ID to a reference to an object.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
경고
Removed. InstanceIDToObject(int) is obsolete. Use EditorUtility.EntityIdToObject instead.
public static Object InstanceIDToObject(int instanceID)

Parameters

instanceID

Returns

Type

Description

Object

Remarks

If the object is not loaded from disk, loads it from disk.
EditorUtilityInstanceIDToObject (InstanceIDToObject(int))
Editor Window to enter the instance ID and print the name of the object.