private void OnDestroy() { if (!enabled) { return; } SunVox.sv_close_slot(0); SunVox.sv_deinit(); }
private void OnDestroy() { if (!enabled) { return; } foreach (Slot slot in Enum.GetValues(typeof(Slot))) { SunVox.sv_close_slot((int)slot); } SunVox.sv_deinit(); }