mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Update saving_games.rst
This commit is contained in:
@@ -61,7 +61,7 @@ Serializing
|
||||
The next step is to serialize the data. This makes it much easier to
|
||||
read from and store to disk. In this case, we're assuming each member of
|
||||
group Persist is an instanced node and thus has a path. GDScript
|
||||
has helper class :ref:`JSON<class_json>` to convert between dictionary and string,
|
||||
has the helper class :ref:`JSON<class_json>` to convert between dictionary and string.
|
||||
Our node needs to contain a save function that returns this data.
|
||||
The save function will look like this:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user