-
Hello! I would like to clarify what types of data can be used to save in fields? Is it possible to save entire nodes or instances of classes in this way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@LiliShiz Essentially anything that can be serialised/deserialised can be saved. I'm not sure there is a way to serialise/deserialise nodes or classes easily in Godot/Unity. I'd recommend just serialising individual fields - all data gets converted to strings and saved alongside its original type, so when you load data back in you know exactly how to deserialise it and what type to convert it back to. |
Beta Was this translation helpful? Give feedback.
@LiliShiz Essentially anything that can be serialised/deserialised can be saved. I'm not sure there is a way to serialise/deserialise nodes or classes easily in Godot/Unity. I'd recommend just serialising individual fields - all data gets converted to strings and saved alongside its original type, so when you load data back in you know exactly how to deserialise it and what type to convert it back to.