Newer
Older
Hierarchical-Task-Network-Unity-3D / Assets / Scripts / Environment / SectionCapacity.cs
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);
    }
}