Component_TintAnimation Class
Executes a tint-animation on a game-object. The tint is executed on the game object's tone-property.
Item Index
Methods
Methods
start
(
-
tone -
duration -
easingType -
[callback]
Starts the tint-animation.
Parameters:
-
tonegs.ToneThe target-tone.
-
durationNumberThe duration in frames.
-
easingTypeObjectThe easing-type.
-
[callback]Function optionalAn optional callback called if the animation is finished.
toDataBundle
()
Serializes the tint-animation into a data-bundle.
update
()
Updates the tint-animation.
