Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RangeAttributeの使い方あれこれ
void Start () {
Debug.Log("hp / mp : " + hp + " / " + mp);
Debug.Log("hpとmp に128を足すよ");
hp += 128;
mp += 128;
Debug.Log("hp / mp : " + hp + " / " + mp);
Debug.Log("hpとmp に256を足すよ");
hp += 256;
mp += 256;
Debug.Log("hp / mp : " + hp + " / " + mp);
}
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.