소스 검색

Clarify seek() in relation to animation_finished

(cherry picked from commit 74e135c90bad1dcaacc3b718deb8ec39318760ee)
kobewi 3 년 전
부모
커밋
16fb788853
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/classes/AnimationPlayer.xml

+ 1 - 0
doc/classes/AnimationPlayer.xml

@@ -159,6 +159,7 @@
 			<argument index="1" name="update" type="bool" default="false" />
 			<description>
 				Seeks the animation to the [code]seconds[/code] point in time (in seconds). If [code]update[/code] is [code]true[/code], the animation updates too, otherwise it updates at process time. Events between the current frame and [code]seconds[/code] are skipped.
+				[b]Note:[/b] Seeking to the end of the animation doesn't emit [signal animation_finished]. If you want to skip animation and emit the signal, use [method advance].
 			</description>
 		</method>
 		<method name="set_blend_time">