- Home /
Saving class fields in the Asset
Hello. I'm trying to keep my class in Unity 3D using Unity serialization. Asset creation is successful, but the fields of the class are stored empty. AssetDatabase.SaveAssets () not help me, class fields are left blank inside stored Asset.
To save, I use this code: http://pastebin.ru/IPfWk7TX
In this picture you can see that the Text Localize list has 3 elements, but they are not stored in asset.
безымянный.png
(32.1 kB)
Comment
Your answer
Follow this Question
Related Questions
Unity API for checking if an object was modified 3 Answers
GetComponent().enabled = true; 1 Answer
AutoComplete Text in TextField 2 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
MouseLook Disable function 1 Answer