Is there a way to change the font and location of SpriteKit debugging data?

Basically what he says in the title.

Is there a way to change the font and location of SpriteKit debugging data?

The data we set in viewController:

skView.showsFPS = YES;
skView.showsNodeCount = YES;
skView.showsDrawCount = YES;
+4
source share
2 answers

You can add such debugging information to the scene yourself:   https://developer.apple.com/library/ios/documentation/GraphicsAnimation/Conceptual/SpriteKit_PG/Actions/Actions.html

Example: Adding the Debug Debugging section.

0
source

No. All of them are part of the SKView class, which does not have custom mutable attributes with respect to the above three elements.

0
source

Source: https://habr.com/ru/post/1538159/


All Articles