I am trying to create a custom wizard with more than just 2 buttons and the ability to define custom elements inside like having a checkbox in the left side, some text in the center and then maybe a small icon on the right, something similar to the import asset popup in unity. Here’s a link to a image showing what I’d like to achieve:
Anyone knows how to add the extra buttons and the custom lines in the popup?
Use the EditorWindow class: Unity - Scripting API: EditorWindow
If you haven’t already, you should familiarize yourself with the “GUI” classes that let you draw things to the UI: Unity - Scripting API: GUI & Unity - Scripting API: EditorGUI. The elements drawn with GUILayout and EditorGUILayout are automatically layouted so you don’t have to deal with positioning and sizing them with Rects.
Calling the GUI classes in the OnGUI method is basically how all the Unity Editor UI is implemented.