controller.dribbleSound.Stop();
controller.state = shoot;
controller.ball.Rigidbody.bodyType = RigidbodyType2D.Dynamic;
- controller.ball.Shoot(hoop.transform.position, time);
+ controller.ball.Shoot(hoop, time);
lastShotPosition = playerTransform.position;
return true;
}