Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

EditorGUI draggable list items

Discussion in 'Immediate Mode GUI (IMGUI)' started by Matkins, Feb 29, 2012.

  1. Matkins

    Matkins

    Joined:
    Aug 24, 2009
    Posts:
    152
    So now Unity has this script execution order section in the project settings:



    Each element in this list can be dragged nicely higher or lower in the list. I'm currently making a custom inspector pane and it needs to offer the ability to easily drag list items into a new order. Does anyone know if this functionality is exposed for us to use in our editor scripts? If not, anyone know a way i can produce something similar?

    Cheers,
    Matkins
     
  2. Aeless

    Aeless

    Joined:
    Aug 2, 2011
    Posts:
    2
  3. adam718

    adam718

    Joined:
    Mar 11, 2012
    Posts:
    58
    Hi.
    Can I implement listbox as above with Unity GUI script?
    If so, could you recommend example/way to do it?

    Thank you,
    Regards,
    Adam.
     
  4. numberkruncher

    numberkruncher

    Joined:
    Feb 18, 2012
    Posts:
    953
    Nick62 likes this.
  5. mokhabadi

    mokhabadi

    Joined:
    Jul 25, 2018
    Posts:
    27