I have a private Array in my java script code. How can I make sure Unity3D serialize it?
This question has a clean, accepted answer. Please also see the related material for more details.
First, you'll need to use an array/collection with a type which can be serialized, and then add @SerializeField above it, i.e.
answered Dec 09 '10 at 10:22 PM