コード例 #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);
    }