Ejemplo n.º 1
0
 private void Explode(bool animate, GameObject bullet, float targetM, float targetScale)
 {
     centerPoint = bullet.transform.position;
     if (animate)
     {
         p.Animate(targetScale, centerPoint);
     }
     isMoving        = true;
     isHoming        = false;
     targetMagnitude = targetM;
     //movementSpeed = movementSpeed;
 }