Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    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