private void OnDestroy() { SoundLib.Log("Unload all sound resources"); SoundLib.UnloadAllSoundEffect(); SoundLib.UnloadMusic(); SoundLib.UnloadAllResidentSfxSoundData(); }