在 Swift SpriteKit 中禁用节点和 FPS 标签

Eth*_*cus 0 sprite-kit swift

我将如何删除 SpriteKit节点fps。我试过翻阅, gameviewcontroller.swift但没有找到任何东西。

ABa*_*ith 5

删除行:

skView.showsFPS = true
skView.showsNodeCount = true
Run Code Online (Sandbox Code Playgroud)

fromGameViewController因为这两个属性都默认为false.