Hey Clement,
One of the most solid solutions, would probably be to make a script for this. I would use Wwise Types, and then a bool to swap between when it's supposed to be muted or not.
Here's an example that you can copy / paste into Unity:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MuteAndUnmute : MonoBehaviour
{
public AK.Wwise.Event Mute;
public AK.Wwise.Event Unmute;
// True or False condition.
public bool muteCondition = true;
private void OnCollisionEnter(Collision collision)
{
// swaps the true/false condition...
muteCondition = !muteCondition;
// if "muteCondition" is true
if (muteCondition)
{
// post the event assigned in Mute
Mute.Post(gameObject);
}
else // if "muteCondition" is not true
{
// post the event assigned in Unmute
Unmute.Post(gameObject);
}
}
}
This basically posts either the Mute or Unmute Event based on a boolean, which can only be True or False.
So because I set the muteCondition to True, it will first become false (muteCondition = !muteCondition;) and then the if statement will post the Unmute Event.
Hope this get you started. Otherwise, the Wwise-301 course might with the introduction to making scripts, so you can create all these kind of custom behaviours in the future.