Document SceneTree.get_frame() and persistent in add_to_group

(cherry picked from commit 1e9128238e)
This commit is contained in:
Tomasz Chabora 2019-03-31 21:01:10 +02:00 committed by Rémi Verschelde
parent 781b8a6c0f
commit 7a94bac34e
2 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,7 @@
</argument>
<description>
Adds the node to a group. Groups are helpers to name and organize a subset of nodes, for example "enemies" or "collectables". A node can be in any number of groups. Nodes can be assigned a group at any time, but will not be added until they are inside the scene tree (see [method is_inside_tree]). See notes in the description, and the group methods in [SceneTree].
[code]persistent[/code] option is used when packing node to [PackedScene] and saving to file. Non-persistent groups aren't stored.
</description>
</method>
<method name="can_process" qualifiers="const">

View File

@ -75,6 +75,7 @@
<return type="int">
</return>
<description>
Returns the current frame, i.e. number of frames since the application started.
</description>
</method>
<method name="get_network_connected_peers" qualifiers="const">