Skip to content

Instantly share code, notes, and snippets.

@todorok1
Last active June 14, 2018 05:06
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