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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

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:
    575
    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.