Skip to content

Instantly share code, notes, and snippets.

@unity3dcollege
Created September 6, 2017 14:31
Show Gist options
  • Save unity3dcollege/af2086f0fdec9ba3ecf07c87d9356b87 to your computer and use it in GitHub Desktop.
Save unity3dcollege/af2086f0fdec9ba3ecf07c87d9356b87 to your computer and use it in GitHub Desktop.
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