FloatSliderAttribute.cs 355 B

12345678910111213141516
  1. using BehaviorDesigner.Runtime.Tasks;
  2. namespace BehaviorDesigner.Runtime.ObjectDrawers
  3. {
  4. public class FloatSliderAttribute : ObjectDrawerAttribute
  5. {
  6. public float min;
  7. public float max;
  8. public FloatSliderAttribute(float min, float max)
  9. {
  10. this.min = min;
  11. this.max = max;
  12. }
  13. }
  14. }