24 lines
301 B
C#
24 lines
301 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace BitStrap
|
|
{
|
|
[Serializable]
|
|
public class IntBounds : NumberBounds<int>
|
|
{
|
|
public IntBounds()
|
|
{
|
|
}
|
|
|
|
public IntBounds(int min, int max)
|
|
: base(min, max)
|
|
{
|
|
}
|
|
|
|
public int RandomInside()
|
|
{
|
|
return UnityEngine.Random.Range(min, max);
|
|
}
|
|
}
|
|
}
|