Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// privateに[SerializeField]をつけない(表示されない)
int mp;
// privateに[SerializeField]と[HideInInspector]の両方をつける
int atk;
void Start () {
Debug.Log(characterName + "のmp : " + mp);
Debug.Log(characterName + "のatk : " + atk);
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.