Exemplo n.º 1
0
    private void Awake()
    {
        timer          = 0f;
        timerText.text = TimeSpan.FromSeconds(timer).ToString(@"mm\:ss\.f");

        highScoreManager = HighScoreManager.instance;

        Time.timeScale = 1f;
        isPaused       = false;
        gameOver       = false;
        customCursor.Enable();
    }