Bladeren bron

Updated property-animation.md (#305)

replaced deprecated go.cancel_animation with go.cancel_animations
Denis Shendrik 2 jaren geleden
bovenliggende
commit
b7590d2ccb

+ 1 - 1
docs/en/manuals/property-animation.md

@@ -25,7 +25,7 @@ To stop all animations of a given property, call `go.cancel_animations()`, or fo
 
 ```lua
 -- Stop euler z rotation animation on the current game object
-go.cancel_animation(".", "euler.z")
+go.cancel_animations(".", "euler.z")
 ```
 
 If you cancel the animation of a composite property, like `position`, any animations of the sub-components (`position.x`, `position.y` and `position.z`) will be cancelled as well.

+ 1 - 1
docs/gr/manuals/animation.md

@@ -175,7 +175,7 @@ go.animate(".", "position.y", go.PLAYBACK_LOOP_PINGPONG, 100, go.EASING_OUTBOUNC
 
 ```lua
 -- Stop euler z rotation animation on the current game object
-go.cancel_animation(".", "euler.z")
+go.cancel_animations(".", "euler.z")
 ```
 
 Εάν ακυρώσετε την κινούμενη εικόνα μιας σύνθετης ιδιότητας, όπως `position`, θα ακυρωθούν επίσης κινούμενες εικόνες των υπο-στοιχείων (`position.x`, `position.y` και `position.z`).

+ 1 - 1
docs/ko/manuals/animation.md

@@ -146,7 +146,7 @@ go.animate(".", "position.y", go.PLAYBACK_LOOP_PINGPONG, 100, go.EASING_OUTBOUNC
 
 ```lua
 -- 현재 게임오브젝트에서 오일러(euler) z축의 회전 애니메이션을 중지함
-go.cancel_animation(".", "euler.z")
+go.cancel_animations(".", "euler.z")
 ```
 
 만약 "position"과 같이 복합적인(composite) 속성의 애니메이션을 취소하면, 하위 요소들("position.x", "position.y", "position.z")의 애니메이션도 함께 취소됩니다.

+ 1 - 1
docs/pl/manuals/animation.md

@@ -290,7 +290,7 @@ Aby zatrzymać wszystkie animacje danej właściwości, wywołaj `go.cancel_anim
 
 ```lua
 -- Stop euler z rotation animation on the current game object
-go.cancel_animation(".", "euler.z")
+go.cancel_animations(".", "euler.z")
 ```
 
 Jeśli zatrzymasz animacje właściwości, która jest właściwością "kompozytową" (składającą się z kilku osobnych wartości, jak np. `vector3 position`), osobne animacje każdego z elementów składowych danej właściwości (`position.x`, `position.y` i `position.z`) zostaną zatrzymane.

+ 1 - 1
docs/ru/manuals/property-animation.md

@@ -25,7 +25,7 @@ go.animate(".", "position.y", go.PLAYBACK_LOOP_PINGPONG, 100, go.EASING_OUTBOUNC
 
 ```lua
 -- Остановить анимацию эйлерова вращения по Z для текущего игрового объекта 
-go.cancel_animation(".", "euler.z")
+go.cancel_animations(".", "euler.z")
 ```
 
 При отмене анимации составного свойства, такого как например `position`, вся анимация его составляющих компонент (`position.x`, `position.y` и `position.z`) будет также отменена.

+ 1 - 1
docs/zh/manuals/property-animation.md

@@ -25,7 +25,7 @@ go.animate(".", "position.y", go.PLAYBACK_LOOP_PINGPONG, 100, go.EASING_OUTBOUNC
 
 ```lua
 -- 停止当前游戏对象欧拉 z 轴旋转动画
-go.cancel_animation(".", "euler.z")
+go.cancel_animations(".", "euler.z")
 ```
 
 如果取消组合属性的动画, 例如 `position`, 其所有子属性 (`position.x`, `position.y` 和 `position.z`) 动画也会一同取消.