HKI Core
MinMaxRangeAttribute.cs
Go to the documentation of this file.
1 using UnityEngine;
2 
3 namespace HKI.Core.Variables
4 {
8  public class MinMaxRangeAttribute : PropertyAttribute
9  {
10  // Public Variables
11  public float MinLimit = -1.0f;
12  public float MaxLimit = 1.0f;
13 
14  public MinMaxRangeAttribute(float minLimit, float maxLimit)
15  {
16  MinLimit = minLimit;
17  MaxLimit = maxLimit;
18  }
19  }
20 }
MinMaxRangeAttribute(float minLimit, float maxLimit)
This Attribute is for having the use of a special property drawer. In this case for the use of a valu...