Skip to content

Instantly share code, notes, and snippets.

@todorok1 todorok1/RangeCheck_06.cs
Last active Jun 14, 2018

Embed
What would you like to do?
RangeAttributeの使い方あれこれ
const int MinLevel = 1;
const int MaxLevel = 255;
[Range(MinLevel, MaxLevel)][SerializeField]
int level;
[Range(MinLevel, MaxLevel)][SerializeField]
string characterName = "maruyu";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.