public void Play() { if (backgroundMusic == null) { backgroundMusic = GameDependencies.Get <BackgroundMusicDependency>(); } backgroundMusic.Play(selection, loop); }
public void Play() { if (backgroundMusic == null) { backgroundMusic = GameDependencies.Get<BackgroundMusicDependency>(); } backgroundMusic.Play(selection , loop); }
protected void Awake() { backgroundMusic = GameDependencies.Get <BackgroundMusicDependency>(); }
protected void Awake() { backgroundMusic = GameDependencies.Get<BackgroundMusicDependency>(); }