Range and RangeInt structs

Represents a range between a minimum and a maximum.

Not to be confused with UnityEngine.RangeInt

Usage example

using UnityEngine;
using SideXP.Core;
using RangeInt = SideXP.Core.RangeInt;

public class RangeDemoComponent : MonoBehaviour
{
    public Range FloatRange;
    public RangeInt IntRange;

    private void Start()
    {
        Debug.Log("Random float: " + FloatRange.Random);
        Debug.Log("Random int: " + IntRange.Random);
    }
}

Range & RangeInt example