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

change time rotate

parent 51e96fe0
......@@ -51,7 +51,7 @@ export default class HuController extends cc.Component {
this.scheduleOnce(() => {
this._spine.timeScale = 0;
if (this._track.trackTime < 0) {
this._track.trackTime = this._track.animationEnd - 0.01;
this._track.trackTime = this._track.animationEnd - 1e-9;
}
}, 0.5);
}
......@@ -65,7 +65,7 @@ export default class HuController extends cc.Component {
}
this._pointStart = newPoint;
this._spine.timeScale = distance > 0 ? -1 : 1;
this._spine.timeScale = distance > 0 ? -1.3 : 1.3;
}
private onRotateGuild() {
......
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