26 lines
532 B
C#
26 lines
532 B
C#
using NaughtyAttributes;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public struct SomeStruct
|
|
{
|
|
public int Int;
|
|
public float Float;
|
|
public Vector3 Vector;
|
|
}
|
|
|
|
public class ReorderableLists : MonoBehaviour
|
|
{
|
|
[BoxGroup("Reorderable Lists")]
|
|
[ReorderableList]
|
|
public int[] intArray;
|
|
|
|
[BoxGroup("Reorderable Lists")]
|
|
[ReorderableList]
|
|
public List<Vector3> vectorList;
|
|
|
|
[BoxGroup("Reorderable Lists")]
|
|
[ReorderableList]
|
|
public List<SomeStruct> structList;
|
|
}
|