mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Merge pull request #2944 from hiulit/patch-1
Added missing references for some functions
This commit is contained in:
@@ -120,7 +120,8 @@ Saving and reading data
|
||||
|
||||
As covered in the :ref:`doc_filesystem` tutorial, we'll need to open a file
|
||||
and write to it and then later, read from it. Now that we have a way to
|
||||
call our groups and get their relevant data, let's use to_json() to
|
||||
call our groups and get their relevant data, let's use :ref:`to_json()
|
||||
<class_@GDScript_method_to_json>` to
|
||||
convert it into an easily stored string and store them in a file. Doing
|
||||
it this way ensures that each line is its own object, so we have an easy
|
||||
way to pull the data out of the file as well.
|
||||
@@ -265,6 +266,8 @@ heavily customized based on the needs of an individual project.
|
||||
This implementation assumes no Persist objects are children of other
|
||||
Persist objects. Otherwise, invalid paths would be created. To
|
||||
accommodate nested Persist objects, consider saving objects in stages.
|
||||
Load parent objects first so they are available for the add_child()
|
||||
Load parent objects first so they are available for the :ref:`add_child()
|
||||
<class_node_method_add_child>`
|
||||
call when child objects are loaded. You will also need a way to link
|
||||
children to parents as the NodePath will likely be invalid.
|
||||
children to parents as the :ref:`NodePath
|
||||
<class_nodepath>` will likely be invalid.
|
||||
|
||||
Reference in New Issue
Block a user