void Start() { _anim = GetComponent <Animator>(); _masterVolumeSlider.value = (float)(OnGetMasterVolume?.Invoke()); _musicVolumeSlider.value = (float)(OnGetMusicVolume?.Invoke()); _sFXVolumeSlider.value = (float)(OnGetSFXVolume?.Invoke()); }
void Start() { _masterVolumeSlider.value = (float)(OnGetMasterVolume?.Invoke()); _musicVolumeSlider.value = (float)(OnGetMusicVolume?.Invoke()); _sFXVolumeSlider.value = (float)(OnGetSFXVolume?.Invoke()); _pausePanelGroup.alpha = 0; _pausePanelGroup.blocksRaycasts = false; _pausePanelGroup.interactable = false; _gameOverText.gameObject.SetActive(false); _restartText.gameObject.SetActive(false); _nextWaveText.gameObject.SetActive(false); _winText.gameObject.SetActive(false); }