有没有办法改变 SpriteKit 调试数据的字体和位置?

Tom*_*oso 5 sprite-kit

基本上就是标题里说的。

有没有办法改变 SpriteKit 调试数据的字体和/或位置?

我们在viewController中设置的数据:

skView.showsFPS = YES;
skView.showsNodeCount = YES;
skView.showsDrawCount = YES;
Run Code Online (Sandbox Code Playgroud)

And*_*eev 0

您可以自己将此类调试信息添加到场景中: https://developer.apple.com/library/ios/documentation/GraphicsAnimation/Conceptual/SpriteKit_PG/Actions/Actions.html

示例:添加调试覆盖部分。