The Id
property of the Sandbox.Audio.Mixer
class provides a unique identifier for the mixer instance. This identifier is of type System.Guid
and is used for various purposes such as lookup and deserialization.
The Id
property of the Sandbox.Audio.Mixer
class provides a unique identifier for the mixer instance. This identifier is of type System.Guid
and is used for various purposes such as lookup and deserialization.
Use the Id
property to retrieve the unique identifier of a mixer instance. This can be particularly useful when you need to reference or manage specific mixer instances programmatically.
// Example of accessing the Id property of a Mixer instance // Assume 'mixer' is an instance of Sandbox.Audio.Mixer System.Guid mixerId = mixer.Id; // Use the mixerId for lookup or other operations Sandbox.Audio.Mixer foundMixer = Sandbox.Audio.Mixer.FindMixerByGuid(mixerId); if (foundMixer != null) { // Perform operations with the found mixer }