切换场景后我的 GameScene 定位不正确
My GameScene is not positioned correctly after switching scene
Image of weirdly positioned sccene
所以在我制作开始场景之前,我的游戏场景运行得很好。但现在不是了。为什么?请帮忙
看看scene.anchorPoint
,也许你不小心改了。默认为 CGPoint(x: 0.5, y: 0.5)
.
Image of weirdly positioned sccene
所以在我制作开始场景之前,我的游戏场景运行得很好。但现在不是了。为什么?请帮忙
看看scene.anchorPoint
,也许你不小心改了。默认为 CGPoint(x: 0.5, y: 0.5)
.