In Unity, when you declare a public field on a MonoBehaviour, what happens to it by default regarding serialization?
- aIt is serialized and shown in the Inspector automatically✓
- bIt is only serialized if you also add [SerializeField]
- cIt is never serialized because it is not a property
- dIt is serialized only after the GameObject is instantiated
Explanation:A public field is automatically picked up by Unity's serializer and Inspector, with no extra attribute needed.