Exemplo n.º 1
0
    private void OnDestroy()
    {
        if (!enabled)
        {
            return;
        }

        SunVox.sv_close_slot(0);
        SunVox.sv_deinit();
    }
Exemplo n.º 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();
    }
Exemplo n.º 3
0
 public static void CloseSlot(int slot)
 {
     Debug.Log("SunVox: close slot " + slot);
     openSlots.Remove(slot);
     SunVox.sv_close_slot(slot);
 }