The Get
method of the MixerHandle
struct is used to retrieve the associated Mixer
object. If the Mixer
cannot be retrieved, the method returns the provided fallback Mixer
instead.
The Get
method of the MixerHandle
struct is used to retrieve the associated Mixer
object. If the Mixer
cannot be retrieved, the method returns the provided fallback Mixer
instead.
To use the Get
method, you need an instance of MixerHandle
and a fallback Mixer
object. Call the method on the MixerHandle
instance, passing the fallback Mixer
as a parameter.
// Assuming 'mixerHandle' is an instance of MixerHandle and 'fallbackMixer' is a Mixer object Sandbox.Audio.Mixer retrievedMixer = mixerHandle.Get(fallbackMixer); // Use 'retrievedMixer' as needed