Ejemplo n.º 1
0
    void Start()
    {
        player1Goal.Init(this, ball.gameObject.layer, PlayerType.player1);
        player2Goal.Init(this, ball.gameObject.layer, PlayerType.player2);

        Invoke(nameof(NewGame), 1);
    }