Esempio n. 1
0
    private void FixedUpdate()
    {
        if (isPlaying)
        {
            playerAI.UpdateStep();
            player.UpdateStep();
            ball.UpdateStep();

            scoreText.text = currentScore.ToString();
        }
    }