using System; using UnityEngine; namespace BitStrap { [Serializable] public class FloatBounds : NumberBounds { public FloatBounds() { } public FloatBounds(float min, float max) : base(min, max) { } public float RandomInside() { return UnityEngine.Random.Range(min, max); } public float Lerp(float t) { return Mathf.Lerp(min, max, t); } } }