I have the debugging fields enabled in my scene, such as:
skView.showsFPS = YES;
skView.showsNodeCount YES;
Unfortunately, the position, size and text color does not work well with my scene, and the debugging text is very hard to read. I would like to move them out of the lower right corner and, ideally, make them bigger. I thought maybe they were child nodes or subviews, so I tried the following, but both checks came up empty.
-(void)didMoveToView:(SKView *)view
{
NSArray *subViews = [view subviews];
for (UIView *subView in subViews)
{
NSLog(@"Node at %.0f,%.0f", subView.frame.origin.x, subView.frame.origin.y);
}
[self enumerateChildNodesWithName:@"*" usingBlock:^(SKNode * _Nonnull node, BOOL * _Nonnull stop)
{
NSLog(@"Node at %.0f,%.0f", node.position.x, node.position.y);
}];
}
Is there any way to access the scene's debugging text in order to move or resize them? Using private APIs would be fine, as this is only applicable during pre-release testing and will be removed before shipping.