Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AudioMixer

AudioMixer asset.
Read time 4 minutesLast updated 11 days ago

Definition

[ExcludeFromObjectFactory]public class AudioMixer : Object

Remarks

This is a singleton representing a specific audio mixer asset in the project.

Properties

Property

Description

outputAudioMixerGroupRouting target.
updateModeHow time should progress for this AudioMixer. Used during Snapshot transitions.

Methods

Method

Description

ClearFloatResets an exposed parameter to its initial value.
FindMatchingGroupsReturns mixer groups whose path contains the specified substring.
FindSnapshotThe name must be an exact match.
GetFloatReturns the value of the exposed parameter specified. If the parameter doesn't exist the function returns false. Prior to calling SetFloat and after ClearFloat has been called on this parameter the value returned will be that of the current snapshot or snapshot transition.
SetFloatAudioMixer.SetFloat sets the value of the exposed parameter specified. Once you call this function, mixer snapshots will no longer control the exposed parameter, and you can only modify the parameter using AudioMixer.SetFloat.
TransitionToSnapshotsTransitions to a weighted mixture of the snapshots specified. This can be used for games that specify the game state as a continuum between states or for interpolating snapshots from a triangulated map location.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.