Spritekit: SKAction: time

I would like to know, when you create SKAction, can you define SKAction.timingMode and SKAction.timingFunction both or should you only select one of them?

thank

+3


source to share


1 answer


You cannot use either one or the other.

The default for timingMode is linear.

For timingFunction, the default is well, nothing.



If a sync function is provided, after applying the normal sync mode, the result is sent to the sync function.

https://developer.apple.com/documentation/spritekit/skaction

+2


source







All Articles