Пример #1
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.R))
     {
         _target = _shotter.SetBall();
         _shotter.Shot(_target);
     }
 }
Пример #2
0
    public void Reshot()
    {
        var ball = _shotter.SetBall();

        _shotter.Shot(ball);
    }