Element Number in List Missing

Issue #75 resolved
Former user created an issue

By default Unity will write "Element X" in arrays and lists, so you know the position of an element in a list.

If I have a really long list, not knowing what positions elements have is really bad. Can't you add the number of an element next to it's name like Unity does in default?

Comments (1)

  1. Bjarke Elias

    We have the ListSettingsAttribute where you can tell it to draw index labels:

    #!c#
    
        [ListDrawerSettings(ShowIndexLabels = true)]
        public int[] SomeArray;
    

    We don't have a way to enable them by default atm. They also don't need to take up as much space as they do now, I'll include this on our to-do.

  2. Log in to comment