How can I prevent SKAction sequence restarting after decoding?
问题 My app is a SpriteKit game with application state preservation and restoration. When application state is preserved, most of the nodes in my current SKScene are encoded. When a node running an SKAction is encoded and decoded, the action will restart from the beginning. This appears to be standard SpriteKit behavior. For me, this behavior is most noticeable for SKAction sequence . On decoding, the sequence restarts, no matter how many of its component actions have already completed. For