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; } }