This commit is contained in:
kridoo
2025-11-17 17:25:11 +08:00
parent 83eeb61088
commit 6bcbc56c2d
7 changed files with 10 additions and 25 deletions

View File

@@ -62,13 +62,13 @@ public class SingleTouchPlayAnimator : MonoBehaviour
SetTriggerParameter("DisTrigger");
if (Vfx != null)
{
Destroy(Vfx);
Vfx = null;
Vfx.transform.localScale = Vector3.zero;
}
if (Vfx1 != null)
{
Destroy(Vfx1);
Vfx1 = null;
Vfx1.transform.localScale = Vector3.zero;
}
animator.Play("Touch");
animatorpig.Play("Touch");