ios原生游戏开发
didMoveToView:
Hello !
1. @interface HelloScene()
@property BOOL contentCreated; @end
2. didMoveToView: - self didMoveToView:(SKView *)view
{
if self.contentCreated
{
[self createSceneContents];
self.contentCreated = YES;
}
}
didMoveToView
contentCreated