mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Replace XML codeblock spaces with tabs
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
Without requiring much code, a timer node can be added and configured in the editor. The [signal timeout] signal it emits can also be connected through the Node dock in the editor:
|
||||
[codeblock]
|
||||
func _on_timer_timeout():
|
||||
print("Time to attack!")
|
||||
print("Time to attack!")
|
||||
[/codeblock]
|
||||
[b]Note:[/b] To create a one-shot timer without instantiating a node, use [method SceneTree.create_timer].
|
||||
[b]Note:[/b] Timers are affected by [member Engine.time_scale]. The higher the time scale, the sooner timers will end. How often a timer processes may depend on the framerate or [member Engine.physics_ticks_per_second].
|
||||
|
||||
Reference in New Issue
Block a user