Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.8

◆ UnregisterAllGameObj()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::UnregisterAllGameObj ( )

Unregister all game objects, or all game objects with a particular matching set of property flags. This function to can be used to unregister all game objects.

Returns
  • AK_Success if successful
Remarks
Registering a game object twice does nothing. Unregistering it once unregisters it no matter how many times it has been registered. Unregistering a game object while it is in use is allowed, but the control over the parameters of this game object is lost. For example, if a sound associated with this game object is a 3D moving sound, it will stop moving once the game object is unregistered, and there will be no way to recover the control over this game object.
See also

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise