Exemple #1
0
    public void StartLevel()
    {
        gameObject.SetActive(true);
        safe.Activate();
        safe.ResetRotation();
        hole.Activate();

        coins.SetActive(true);
        coinList.Initialize();
        coinList.ResetCoins();
        coinsCount = coinList.TotalCoinsCount;

        scoreManager.scoreText.enabled = true;

        timerManager.timeText.enabled = true;
        timerManager.StartTimer(levelDurationSec);
    }