SerializeFieldとNonSerializedの頂上バトル
public class NonSerializedCheck : MonoBehaviour { | |
// [System.NonSerialized]をつけてInspectorで非表示にする | |
[System.NonSerialized] | |
public int level = 711; | |
// [System.NonSerialized]をつけないケース | |
public string characterName; | |
// イカ、略 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment