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:
-
tone
gs.ToneThe target-tone.
-
duration
NumberThe duration in frames.
-
easingType
ObjectThe 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.