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

[RELEASED] Reorderable List Attribute

Discussion in 'Assets and Asset Store' started by HP99Studio, Feb 25, 2019.

  1. HP99Studio

    HP99Studio

    Joined:
    Feb 19, 2019
    Posts:
    2
    Large-516x389.png
    Just one attribute allows you to make a reorderable list from a regular serializable list or array.

    Usage:
    Add ReorderableAttribute to serializable array or list. That's it. Now you can use all the advantages of reorderable editor list.

    Code (CSharp):
    1. [Reorderable] public List<Item> reorderableItemsList;
    2.  
    3. [System.Serializable]
    4. public class Item {
    5.     public int intValue;
    6.     public float floatValue;
    7. }
    8.  

    Go Store




    Go Store
     
  2. IC_

    IC_

    Joined:
    Jan 27, 2016
    Posts:
    61
    shame on unity team
     
    abegue likes this.