using System;
namespace BansheeEngine
{
///
/// Makes an integer or a floating point field be displayed as a slider with a specified range in the inspector.
///
[AttributeUsage(AttributeTargets.Field)]
public sealed class Range : Attribute
{
///
/// Creates a new range attribute.
///
/// Minimum boundary of the range to clamp the field value to.
/// Maximum boundary of the range to clamp the field value to.
public Range(float min, float max)
{
this.min = min;
this.max = max;
}
private float min;
private float max;
}
}