public static void ChangePlayState(PlayState playState)
PlayState playState |
The state to try and switch to. |
---|
Changes the play state of the audio manager to the entered state when called.
private void OnEnable()
{
// Mutes all audio clips but still plays then otherwise.
AudioManager.ChangePlayState(PlayState.PlayMuted);
}