Difference between paused property of SKScene and SKView

前端 未结 2 1648
我寻月下人不归
我寻月下人不归 2021-02-08 14:04

I am pausing my SKScene using the following code:

self.paused = YES;

However, according to this answer by Andrey Gordeev, one can also pause a

2条回答
  •  甜味超标
    2021-02-08 14:12

    Pausing SKView stops calling update: method for SKScene.

    Pausing SKScene doesn't do that.

    I usually pause both SKScene and SKView

    EDIT:

    As of iOS9 pausing the scene will pause the update: method.

提交回复
热议问题