Esempio n. 1
0
    public void Reset()
    {
        _player.Reset();
        _boostSpawner.Reset();
        _menuPanel.Reset();
        _healthBar.Reset();
        _gameOverScreen.Reset();

        foreach (var item in _spawners)
        {
            item.Reset();
        }

        Time.timeScale = 1;
    }