SpineSprite:addAnimation

From GiderosMobile
This page contains changes which are not marked for translation.


Available since: Gideros 2018.12
Class: SpineSprite

Description

Add or chain another animation

SpineSprite:addAnimation(track,animation,mix,loop,delay)

Parameters

track: (integer) Track to use
animation: (string) Animation name
mix: (number) Mix duration
loop: (boolean) Wether the animation should loop
delay: (number) Delay before starting this new animation