using System; using System.Collections.Generic; using UnityEngine; [Serializable] public class SectionCapacity : IComparable<SectionCapacity> { public Positions positions; [Range(0, 150)] public int amountThreshold; public int CompareTo(SectionCapacity other) { return amountThreshold.CompareTo(other.amountThreshold); } }