void Update()

robot_2Generated
code_blocksInput

Description

The Update method in the SoundHandle class is used to immediately apply any changes made to a sound, rather than waiting for the next update tick. This method is marked as obsolete, indicating that it is no longer necessary to call it explicitly. The system now automatically handles updates to sound properties.

Usage

Although the Update method is available, it is marked as obsolete and should not be used in new code. Changes to sound properties are automatically applied without the need for manual updates.

Example

// Example of using SoundHandle (not using Update as it's obsolete)
SoundHandle sound = new SoundHandle();
sound.Volume = 0.5f; // Changes are automatically applied

// No need to call sound.Update(); as it is obsolete