MainGame.EndGame C# (CSharp) 메소드

EndGame() 공개 메소드

public EndGame ( float newScore ) : void
newScore float
리턴 void
    public void EndGame(float newScore)
    {
        GameIsRunning = false;
        Instantiate (scoreScreen);
        Highscore(newScore);
        menuScreen.SetActive(true);
    }