Sprite Kit编程指南(10)
时间:2025-04-06
时间:2025-04-06
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
上一篇:电脑绘制卡通漫画