Search Unity

Inspector: Allow us to edit generic Lists and Dictionaries

Discussion in 'Wish List' started by StarManta, Mar 20, 2013.

  1. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,775
    Title says it all, really: Allow the editing of the List<> and Dictionary<,> classes in the editor. The other generic types would be useful, as well. The template C# script should include System.Collections.Generic as well - let's encourage their use!

    Also, the ability to modify the template script (without hacking into the app bundle) would be nice.
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Editing generic Lists in the inspector has always worked fine.

    --Eric
     
  3. Errorsatz

    Errorsatz

    Joined:
    Aug 8, 2012
    Posts:
    555
    Dictionaries would be awesome though. Right now you have to either write a custom inspector for that, or use the "two lists" method.