diff --git a/assets/Game/scripts/SlotBar.ts b/assets/Game/scripts/SlotBar.ts index 0d22a8b..e8f51a3 100644 --- a/assets/Game/scripts/SlotBar.ts +++ b/assets/Game/scripts/SlotBar.ts @@ -467,10 +467,9 @@ export class SlotBar extends Component { frame.getComponent(UITransform).setContentSize(tipWidth + 140, 105); } - + tipNode.scale = new Vec3(0, 0, 0); setTimeout(() => { // 显示动画 - tipNode.scale = new Vec3(0, 0, 0); this.currentTipTween = tween(tipNode) .to(0.1, { scale: new Vec3(1, 1, 1) }) .call(() => {