Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

求助cc.Node.getNumberOfRunningActions is removed

$
0
0

@bendary 写道:

cc.Node.getNumberOfRunningActions is removed.
求助为何我调用getNumberOfRunningActions is removed.控制台会报错?
isGameRunningActions: function() {

    for (var i = 0; i < this.row; i++) {
        for (var j = 0; j < this.column; j++) {
            var block = this.chessBoard[i][j].getComponent('block');
            var n = block.node.getNumberOfRunningActions();
            if (n > 0) return true;
        }
    }
    return false;
},

新人不懂

帖子: 3

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>