Reorderable List Attribute

$4
Publisher 99HP STUDIO
File size 6.72kB
Number of files 5
Latest version 1
Latest release date 2019-02-18 12:04:13
First release date 2019-02-13 08:33:21
Supported Unity versions 2018.4.2 or higher
Just one attribute allow you to make reorderable list from any serializable list or array.

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

Example:
[Reorderable] public int[] array;

Unfortunately existing Unity versions has some architectural limitations wich does not allow to use UnityEngine.Object with reorderable list directly. But you can use wrapper:
[System.Serializable]
public class Wrapper {
        public GameObject objectValue;
}
[Reorderable] public Wrapper[] wrappersArray;

Top Publisher Assets