Search Unity

Question Change editor labels for arrays/lists from "element x" to an enum value

Discussion in 'Immediate Mode GUI (IMGUI)' started by Ne0mega, Mar 12, 2023.

  1. Ne0mega

    Ne0mega

    Joined:
    Feb 18, 2018
    Posts:
    755
    In the editor, for arrays, you can add items, and they are labeled "element 0, element 1, element 2, " etc. I' d like to change these labels to display corresponding enum string/name values from a class.