private void Update()
 {
     if (Input.GetKeyDown(KeyCode.R))
     {
         _target = _shotter.SetBall();
         _shotter.Shot(_target);
     }
 }
Example #2
0
    public void Reshot()
    {
        var ball = _shotter.SetBall();

        _shotter.Shot(ball);
    }