Project rejected by Unity Ads for not respecting physical mute button
This issue is likely due to Unity not providing a call-back to mute the audio when the mute switch is toggled on
/ off
.
Possible solution:
- Add
Mute
/Unmute
functions toLuna.Unity.LifeCycle.OnMute
andLuna.Unity.LifeCycle.OnUnmute
events respectively:
Luna.Unity.LifeCycle.OnMute += muteGameFunction;
Luna.Unity.LifeCycle.OnUnmute += unmuteGameFunction;