doc: Timer.autostart resets to false on start

Fixes #35289.
This commit is contained in:
Rémi Verschelde 2020-01-19 10:18:09 +01:00
parent d7072e9cd4
commit 05c8654390
2 changed files with 2 additions and 1 deletions

View file

@ -361,7 +361,7 @@
Particles will be emitted at a position chosen randomly among [member emission_points]. Particle velocity and rotation will be set based on [member emission_normals]. Particle color will be modulated by [member emission_colors].
</constant>
<constant name="EMISSION_SHAPE_MAX" value="5" enum="EmissionShape">
Represents the size of the [enum EmissionShape] enum.
Represents the size of the [enum EmissionShape] enum.
</constant>
</constants>
</class>

View file

@ -37,6 +37,7 @@
<members>
<member name="autostart" type="bool" setter="set_autostart" getter="has_autostart" default="false">
If [code]true[/code], the timer will automatically start when entering the scene tree.
[b]Note:[/b] This property is automatically set to [code]false[/code] after the timer enters the scene tree and starts.
</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 when reaching 0. If [code]false[/code], it will restart.