Commit 8900601a authored by Vũ Gia Vương's avatar Vũ Gia Vương

fix hammer tutorial

parent 206d1651
...@@ -51,7 +51,7 @@ export default class BreakingBottleController extends cc.Component { ...@@ -51,7 +51,7 @@ export default class BreakingBottleController extends cc.Component {
private resetBottle() { private resetBottle() {
this._countFragment = 0; this._countFragment = 0;
this._spine.setSkin(this._skins[Global.tool % this._skins.length]); this._spine.setSkin(this._skins[Global.tool % this._skins.length]);
this._spine.setAnimation(0, "Dap4", false); // this._spine.setAnimation(0, "Dap4", false);
this._fragmentsNode.forEach((node, index) => { this._fragmentsNode.forEach((node, index) => {
node.position = this._fragmentsPosition[index]; node.position = this._fragmentsPosition[index];
......
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