示例#1
0
 private void FixedUpdate()
 {
     if (superPower.GetObjIsMoving() && GetComponent <Rigidbody2D>().velocity == Vector2.zero)
     {
         myAnimator.SetBool(fireBubbleBlowBoolName, true);
     }
 }
示例#2
0
 private void FixedUpdate()
 {
     if (superPower.GetObjIsMoving() && GetComponent <Rigidbody2D>().velocity == Vector2.zero)
     {
         myAnimator.SetBool(thunderBubbleBlowBoolName, true);
         Destroy(gameObject, 0.2f);
     }
 }