public void SetVolume(MixerName mixer, float volume)
    {
        switch (mixer)
        {
        case MixerName.MASTER:
            AkSoundEngine.SetRTPCValue("MASTER_VOLUME", volume);
            break;

        case MixerName.SFX:
            AkSoundEngine.SetRTPCValue("SFX_VOLUME", volume);
            break;

        case MixerName.MUSIC:
            AkSoundEngine.SetRTPCValue("MUSIC_VOLUME", volume);
            break;

        case MixerName.VOICE:
            AkSoundEngine.SetRTPCValue("VOX_VOLUME", volume);
            break;

        default:
            break;
        }
    }
 public void SetVolume(MixerName mixer, float volume)
 {
     //Debug.Log($" {mixer} volume set to : {volume}");
 }
Ejemplo n.º 3
0
 public void SetVolume(MixerName mixer, float volume)
 {
     Debug.Log("volume change not implemented");
 }
Ejemplo n.º 4
0
 public void SetVolume(MixerName mixer, float volume)
 {
 }