public static bool IsPlaying { get; }
Gets if the music player’s active player is currently playing music or not.
private void OnEnable() { if (!MusicManager.IsPlaying) { // Do Stuff... } }