소스 검색

Fix description about SceneTreeTimer auto free

(cherry picked from commit 5a011f599907901788f0e5381e548b0062a940ed)
Haoyu Qiu 3 년 전
부모
커밋
5569d4d2de
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      doc/classes/SceneTreeTimer.xml

+ 1 - 1
doc/classes/SceneTreeTimer.xml

@@ -12,7 +12,7 @@
 		    yield(get_tree().create_timer(1.0), "timeout")
 		    print("Timer ended.")
 		[/codeblock]
-		The timer will be automatically freed after its time elapses, so be aware that any reference you might have kept to it will become invalid.
+		The timer will be dereferenced after its time elapses. To preserve the timer, you can keep a reference to it. See [Reference].
 	</description>
 	<tutorials>
 	</tutorials>