您好如何进行转换
perl -nle 'print "$1 $2" while /^($ENV{NAME}_.+rev).+\x27(.+)\x27/g;' $ENVFILE
5秒后开始?
我的代码:
let transitionType = SKTransition.crossFadeWithDuration (2.0)
答案 0 :(得分:2)
您可以在SKAction.waitForDuration
中使用SKAction.runBlock
与SKAction
sequence结合使用:
let wait = SKAction.waitForDuration(5)
let action = SKAction.runBlock {
view?.presentScene(nextLevel, transition: transitionType)
}
self.runAction(SKAction.sequence([wait, action]))