Search Unity

Question Draw inspector like the Animator inspector when selecting class in editor window

Discussion in 'Immediate Mode GUI (IMGUI)' started by RensDevolp, May 18, 2020.

  1. RensDevolp


    Aug 10, 2014
    Hi all,

    I'm creating a objective manager, kinda like the Animator window. The window is working, but how do I draw a custom inspector for a class when clicking on it in the window? E.g., I have the base class Node. This node contains the rect for the box on the grid and some other stuff. How do I draw a custom inspector for it? Do I have to use a PropertyDrawer?

    Any ideas are welcome!

    Kind regards,