@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