0

我不确定这是否可以通过序列进行:

cc.sequence(
        cc.callFunc(this.func, this), // returns 5 for next delay
        cc.delayTime(5_seconds_delay_from_previous_function),
        cc.callFunc(this.func_2, this), // returns n for next delay
        cc.delayTime(n_seconds_delay_from_previous_function),
        cc.callFunc(this.func_3, this),
        ....
    );

有什么最佳方法吗?尽量采用cocos方式。

4

0 回答 0