Control the scope of action of the var_to_str #7457
CodeLazier
started this conversation in
Scripting
Replies: 1 comment
-
It looks like a bug, it is inconsistent with binary serialization and As a workaround, in 4.2 dev you can use See also godotengine/godot#80585. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
gdscript has no private member field, so serialization functions like var_to_str will write all private fields of a class to string, which is inelegant and whether or not to accept a parameter such as a field starting with "_" is automatically ignored serialization
Beta Was this translation helpful? Give feedback.
All reactions