Created
September 6, 2017 14:31
-
-
Save unity3dcollege/af2086f0fdec9ba3ecf07c87d9356b87 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public class MinMaxRangeAttribute : Attribute | |
{ | |
public float Min { get; private set; } | |
public float Max { get; private set; } | |
public MinMaxRangeAttribute(float min, float max) | |
{ | |
Min = min; | |
Max = max; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment