From 7a94bac34edcd250c9f59107b38810ab2d460c04 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Sun, 31 Mar 2019 21:01:10 +0200 Subject: [PATCH] Document SceneTree.get_frame() and persistent in add_to_group (cherry picked from commit 1e9128238e7b74394148579ded9e63115cb0aa58) --- doc/classes/Node.xml | 1 + doc/classes/SceneTree.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index ce86fd46b44..cee3574b0ba 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -146,6 +146,7 @@ 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. diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml index 9f14870bc37..940ea9df08a 100644 --- a/doc/classes/SceneTree.xml +++ b/doc/classes/SceneTree.xml @@ -75,6 +75,7 @@ + Returns the current frame, i.e. number of frames since the application started.