Beispiel #1
0
    private void OnDestroy()
    {
        if (!enabled)
        {
            return;
        }

        SunVox.sv_close_slot(0);
        SunVox.sv_deinit();
    }
Beispiel #2
0
    private void OnDestroy()
    {
        if (!enabled)
        {
            return;
        }

        foreach (Slot slot in Enum.GetValues(typeof(Slot)))
        {
            SunVox.sv_close_slot((int)slot);
        }
        SunVox.sv_deinit();
    }