Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created June 13, 2018 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/072a1ed08c7d894f2b8b3454f0bfa310 to your computer and use it in GitHub Desktop.
Save todorok1/072a1ed08c7d894f2b8b3454f0bfa310 to your computer and use it in GitHub Desktop.
RangeAttributeの使い方あれこれ
const int MinLevel = 1;
const int MaxLevel = 255;
[Range(MinLevel, MaxLevel)][SerializeField]
int level;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment