Пример #1
0
    private void Awake()
    {
        gameEnded      = false;
        Time.timeScale = 1f;
        playerRef      = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerHandler>();
        gameUI         = gameObject.GetComponent <UIHandler>();

        BackGroundMusic.PlayNewAudio(BackGroundMusic.instance.inGameBGM);
    }
Пример #2
0
 public void SetMainMenuBGM()
 {
     BackGroundMusic.PlayNewAudio(BackGroundMusic.instance.mainMenu);
 }