停顿一下然后在显示出startUI怎么弄的?

this.runAction(cc.Sequence.create(cc.DelayTime.create(10), this.addChild(layers.startUI)));
失败了,没有延时直接跳出了startUI。

var GameScene = cc.Scene.extend({
onEnter : function () {
this._super();
var bg = new cc.Sprite(“bg.png”);
bg.anchorX = 0.5;
bg.anchorY = 1;
bg.x = cc.winSize.width/2;
bg.y = cc.winSize.height;
this.addChild(bg);

    layers.startUI = new StartUI();
    this.runAction(cc.Sequence.create(cc.DelayTime.create(10), this.addChild(layers.startUI))); 
}

});

   var that = this;
this.runAction(cc.Sequence.create(cc.DelayTime.create(0.1), cc.CallFunc.create(function () {that.addChild(layers.startUI)}))); 

搞定了。好复杂…