FittsLaw/Assets/Oculus/AudioManager/Scripts/Audio/MinMaxAttribute.cs

22 lines
501 B
C#
Raw Permalink Normal View History

2018-10-14 23:33:23 -04:00
using UnityEngine;
/*
-----------------------
MinMaxAttribute
-----------------------
*/
public class MinMaxAttribute : PropertyAttribute {
public float minDefaultVal = 1.0f;
public float maxDefaultVal = 1.0f;
public float min = 0.0f;
public float max = 1.0f;
public MinMaxAttribute( float minDefaultVal, float maxDefaultVal, float min, float max ) {
this.minDefaultVal = minDefaultVal;
this.maxDefaultVal = maxDefaultVal;
this.min = min;
this.max = max;
}
}