Xcode 9.1 (and 9.2) - Referenced sprites are not executing Actions added in Scene Editor

前端 未结 4 476
伪装坚强ぢ
伪装坚强ぢ 2020-12-31 15:19

I have come across some unexpected behaviour when using the SpriteKit Scene Editor, and wonder if anyone else is having the same issue.

I created a sprite in a scene

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-31 15:32

    Hi,I had this same problem. Below is my solution:

    override func didMove(to view: SKView) {
        sleep(1)
    }
    

    However,this is not good way. I hope I can help you temporarily. If you slove this problem or find a better solution, please reply me, thank you.

提交回复
热议问题