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

前端 未结 4 472
伪装坚强ぢ
伪装坚强ぢ 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:48

    Sadly, this problem persists in Xcode10. If you are using custom classes, either directly or as the parent node, the easiest way to fix this is to add self.isPaused = false to the init?(coder aDecoder: NSCoder) method of your custom class.

提交回复
热议问题