diff options
author | Micky <micheledevita2@gmail.com> | 2022-09-01 15:19:23 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2022-09-01 15:38:06 +0200 |
commit | 8949386382320bc1055ee1d8eb3e86dc94c0ad8e (patch) | |
tree | 74e6e102caa291ce4ad68c89f278c2e23bf0e9e6 /doc | |
parent | 728785d5328172acd4cc4b182914aea5d234fea4 (diff) |
Rename AnimatedTexture `oneshot` to `one_shot`
AnimatedTexture.`oneshot` -> `one_shot`
For consistency. Every other exposed `one_shot` is spaced out like this.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/AnimatedTexture.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/AnimatedTexture.xml b/doc/classes/AnimatedTexture.xml index 5ad4c4e10a..d2fa7bb1e9 100644 --- a/doc/classes/AnimatedTexture.xml +++ b/doc/classes/AnimatedTexture.xml @@ -62,7 +62,7 @@ <member name="frames" type="int" setter="set_frames" getter="get_frames" default="1"> Number of frames to use in the animation. While you can create the frames independently with [method set_frame_texture], you need to set this value for the animation to take new frames into account. The maximum number of frames is [constant MAX_FRAMES]. </member> - <member name="oneshot" type="bool" setter="set_oneshot" getter="get_oneshot" default="false"> + <member name="one_shot" type="bool" setter="set_one_shot" getter="get_one_shot" default="false"> If [code]true[/code], the animation will only play once and will not loop back to the first frame after reaching the end. Note that reaching the end will not set [member pause] to [code]true[/code]. </member> <member name="pause" type="bool" setter="set_pause" getter="get_pause" default="false"> |