|
@@ -85,7 +85,7 @@ export default class CashPro extends cc.Component {
|
|
|
|
|
|
|
|
showCashPro() {
|
|
showCashPro() {
|
|
|
this.cashPro.active = true;
|
|
this.cashPro.active = true;
|
|
|
- mk.tween.moveTo(this.cashPro, 0.3, cc.v2(1000, 0), cc.v2(0, 0));
|
|
|
|
|
|
|
+ mk.tween.move(this.cashPro, 0.3, cc.v2(1000, 0), cc.v2(0, 0), null, 'elasticIn');
|
|
|
this.labMoney.string = `¥${this.money}`
|
|
this.labMoney.string = `¥${this.money}`
|
|
|
}
|
|
}
|
|
|
|
|
|