Selaa lähdekoodia

Merge pull request #98769 from arkology/timer_tool_autostart

Document Timer autostart in tool scripts
Thaddeus Crews 10 kuukautta sitten
vanhempi
commit
f07f7e6e35
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      doc/classes/Timer.xml

+ 1 - 0
doc/classes/Timer.xml

@@ -43,6 +43,7 @@
 		<member name="autostart" type="bool" setter="set_autostart" getter="has_autostart" default="false">
 			If [code]true[/code], the timer will start immediately when it enters the scene tree.
 			[b]Note:[/b] After the timer enters the tree, this property is automatically set to [code]false[/code].
+			[b]Note:[/b] This property does nothing when the timer is running in the editor.
 		</member>
 		<member name="one_shot" type="bool" setter="set_one_shot" getter="is_one_shot" default="false">
 			If [code]true[/code], the timer will stop after reaching the end. Otherwise, as by default, the timer will automatically restart.