Merge pull request #27561 from KoBeWi/get_frame_doc

Document SceneTree.get_frame() and persistent in add_to_group()
This commit is contained in:
Rémi Verschelde 2019-04-09 12:10:48 +02:00 committed by GitHub
commit 70a009833b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -77,6 +77,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">