0
적을 일정 간격으로 발송하고 플레이어가이를 없애야하는 스프라이트 키트 장면이 있습니다. 그러나 그들이 산란하기 시작하기 전에 3 초를 기다리고 싶습니다. 시도했습니다스프라이트 키트 장면을 실행하기 3 초 전에 기다림
-(id)initWithSize:(CGSize)size {
if (self = [super initWithSize:size]) {
/* Setup your scene here */
//Set the init variables.
//AudioServicesPlaySystemSound (kSystemSoundID_Vibrate);
SKAction *wait = [SKAction waitForDuration:3];
[self runAction:wait];}
이것은 작동하지 않습니다. 무엇이 잘못 되었나요?
우수 감사합니다. –