Component_ShakeAnimation Class
Executes a horizontal shake-animation on a game-object.
Item Index
Methods
Methods
skip
()
Skips the animation. That is used to skip an animation if the user wants to skip very fast through a visual novel scene.
start
(
-
range
-
speed
-
duration
-
easingType
-
[callback]
Starts the shake-animation.
Parameters:
-
range
gs.RangeThe horizontal shake-range.
-
speed
NumberThe shake-speed.
-
duration
NumberThe duration in frames.
-
easingType
ObjectThe easing-type.
-
[callback]
Function optionalAn optional callback called if the animation is finished.
toDataBundle
()
Serializes the shake-animation into a data-bundle.
update
()
Updates the shake-animation.