Creating a Pause Script using Wwise/Unity
We create an empty object in Unity and create a C# script.
STEP 1: Create two attributes that will hold an MX State and a BGS State
STEP2: Initialize booleans that will serve as locks.
STEP3: First condition, set music and ambiences pause states in wwise.
STEP4: Second condition, Audio Manager references script in order to initialize current state. Second Condition sets Wwise State referenced in current state attribute.