Example #1
0
    private void OnBallHit(BallHitSignal data)
    {
        if (_paddle.Index != data.Arg1)
        {
            return;
        }

        _tiltTweener.Run(data.Arg2);
    }
Example #2
0
 private void OnBallHit(BallHitSignal data)
 {
     _rotationSpeed = new Vector3(Random.value, Random.value, Random.value) * Random.Range(2, 5);
 }