Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
514 B

using UnityEngine;
namespace OVR
{
/*
-----------------------
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;
}
}
} // namespace OVR