You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Plugins/NaughtyAttributes/Scripts/Test/ReorderableListTest.cs

35 lines
620 B
C#

1 month ago
using System.Collections.Generic;
using UnityEngine;
namespace NaughtyAttributes.Test
{
public class ReorderableListTest : MonoBehaviour
{
[ReorderableList]
public int[] intArray;
[ReorderableList]
public List<Vector3> vectorList;
[ReorderableList]
public List<SomeStruct> structList;
[ReorderableList]
public GameObject[] gameObjectsList;
[ReorderableList]
public List<Transform> transformsList;
[ReorderableList]
public List<MonoBehaviour> monoBehavioursList;
}
[System.Serializable]
public struct SomeStruct
{
public int Int;
public float Float;
public Vector3 Vector;
}
}