public void StartGame()
    {
        UI.StartGame();

        GamePlayMode = true;
        BallMovementComponent.StartMoving();
    }
示例#2
0
    public void Play()
    {
        playEvent.Raise();

        player1.enabled = true;
        player2.enabled = true;
        ball.StartMoving();
    }