public void PushDynamicMusic(DynamicMusic music, bool restart = false) { if (!restart && CurrentMusic != null) { if (CurrentMusic.Equals(music)) { return; } } PlayDynamicMusic(music); }
public void PushDynamicMusic(DynamicMusic music, bool restart, float crossFadeTime) { if (!restart && CurrentMusic != null) { if (CurrentMusic.Equals(music)) { return; } } PlayDynamicMusic(music); }