Search Unity

Question Draw and edit referenced component in Inspector?

Discussion in 'Immediate Mode GUI (IMGUI)' started by Deleted User, Jul 15, 2022.

  1. Deleted User

    Deleted User

    Guest

    I want to draw and edit values from a referenced component in the inspector so that I don't have to jump between objects.
    I tried to do this with PropertyDrawers / PropertyAttribute with help from the beginning of this thread I found right here, but what I found hasn't allowed me to actually make changes to the component.
    It also doesn't draw everything (lists, serialized classes, etc., I'm sure there's more).

    Any ideas?
     
    Last edited by a moderator: Jul 15, 2022