예제 #1
0
    //LOCAL
    private void LoadTimer() //Load the Timer file and populate the display based on saved data
    {
        gameTimer = TimerIO.LoadCounter();

        if (gameTimer == null)
        {
            gameTimer = new Timer(1, Time.deltaTime, true);
        }

        resourceDisplay.InitDisplay();
    }
예제 #2
0
 private void SaveTimer()
 {
     TimerIO.SaveCounter(gameTimer);
 }