1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Prevent errors if Tween callback's object is freed

This commit is contained in:
kobewi
2023-08-29 14:45:36 +02:00
parent 247c3548d8
commit 598d9972c8
3 changed files with 10 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
</brief_description>
<description>
[CallbackTweener] is used to call a method in a tweening sequence. See [method Tween.tween_callback] for more usage information.
The tweener will finish automatically if the callback's target object is freed.
[b]Note:[/b] [method Tween.tween_callback] is the only correct way to create [CallbackTweener]. Any [CallbackTweener] created manually will not function correctly.
</description>
<tutorials>