private void Awake() { gameEnded = false; Time.timeScale = 1f; playerRef = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerHandler>(); gameUI = gameObject.GetComponent <UIHandler>(); BackGroundMusic.PlayNewAudio(BackGroundMusic.instance.inGameBGM); }
public void SetMainMenuBGM() { BackGroundMusic.PlayNewAudio(BackGroundMusic.instance.mainMenu); }