Commit 665166b1 authored by Friends233's avatar Friends233

放入方块也加分

parent 66b5250b
......@@ -122,6 +122,7 @@ export default class BlockManager extends cc.Component {
allBlock.forEach((node: cc.Node) => {
const scripts = node.getComponent('miniBlock')
scripts.setBlockMatrix()
cc.find('Canvas').dispatchEvent(this.addScoreEvent)
})
this.clearAllChildren()
this.checkBlockMatrix()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment