Declaration


public static void ChangePlayState(PlayState playState)

Parameters


PlayState playState The state to try and switch to.

Description


Changes the play state of the audio manager to the entered state when called.

Example


private void OnEnable()
{
		// Mutes all audio clips but still plays then otherwise. 
		AudioManager.ChangePlayState(PlayState.PlayMuted);
}