Add a note about create_tween() method of SceneTree class
Add note regarding SceneTree.create_tween() method behavior. Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Tomek <kobewi4e@gmail.com>
This commit is contained in:
@ -90,6 +90,7 @@
|
|||||||
<return type="Tween" />
|
<return type="Tween" />
|
||||||
<description>
|
<description>
|
||||||
Creates and returns a new [Tween]. The Tween will start automatically on the next process frame or physics frame (depending on [enum Tween.TweenProcessMode]).
|
Creates and returns a new [Tween]. The Tween will start automatically on the next process frame or physics frame (depending on [enum Tween.TweenProcessMode]).
|
||||||
|
[b]Note:[/b] When creating a [Tween] using this method, the [Tween] will not be tied to the [Node] that called it. It will continue to animate even if the [Node] is freed, but it will automatically finish if there's nothing left to animate. If you want the [Tween] to be automatically killed when the [Node] is freed, use [method Node.create_tween] or [method Tween.bind_node].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_first_node_in_group">
|
<method name="get_first_node_in_group">
|
||||||
|
|||||||
Reference in New Issue
Block a user