Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
publicと[SerializeField]
public class AttributeChecker : MonoBehaviour {
// publicをつけてInspectorに表示する
public int hp;
// [SerializeField]だとprivateなままInspectorに表示できる
[SerializeField]
int 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.