xCode 8.x crashes with “GameScene.sks” file

前端 未结 3 1968
孤城傲影
孤城傲影 2020-12-16 22:57

I\'ve downloaded macOS Sierra 10.12 and put it into an VMWare machine. Everything running well, but at xCode, using SpriteKit, whenever I try to open the

3条回答
  •  孤城傲影
    2020-12-16 23:21

    I can't help with your crash, but you can change the Anchor Point within code like this...

    GameScene.swift

    override func viewDidLoad(){
        self.anchorPoint = CGPoint(0,0)
    }
    

提交回复
热议问题