[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/EditorUtility.InstanceIDToObject.html [Back]  [Original]

Unity - Scripting API: EditorUtility.InstanceIDToObject
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#
    Removed

    EditorUtility.InstanceIDToObject

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Obsolete InstanceIDToObject(int) is obsolete. Use EditorUtility.EntityIdToObject instead.

    Declaration

    public static Object InstanceIDToObject(int instanceID);

    Description

    Translates an instance ID to a reference to an object.

    If the object is not loaded from disk, loads it from disk.

    EditorUtilityInstanceIDToObject.png [EditorUtilityInstanceIDToObject.png]
    Editor Window to enter the instance ID and print the name of the object.


    Web Proxy Viewer  |  New URL  |  Original Page