Missing line explanation

Missing a line of code explanation added to godot-doc
This commit is contained in:
Taner Esmeroğlu
2019-10-04 05:39:38 +03:00
parent 6a4db97e0d
commit ebfbb33609

View File

@@ -948,6 +948,8 @@ We then set ``should_loop``, and add ``new_audio`` as a child of ``Globals.gd``.
.. note:: Remember, we have to be careful adding nodes to a singleton, since these nodes will not be destroyed when changing scenes.
We add the ``new_audio`` into the ``created_audio`` list to hold all created audios.
We then call ``play_sound``, passing in the audio clip associated with ``sound_name`` and the sound position.
______