Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.8.8601 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Avertissement : certains renseignements protégés ne sont pas affichés sur cette page.
Assurez-vous d'être connecté si vous êtes un utilisateur avec une license pour des plateformes en particulier.
Wwise Unity Integration Documentation
|
- Load On: The moment the game should load the SoundBank. Click to select one or more of the following options:
- Start: When the scene loads. This is the default setting and normal way to load SoundBanks.
- Nothing: Default option from Unity, which should not be used.
- Everything: Default option from Unity, which should not be used.
- Awake: When the current game object becomes active.
- Destroy: When the scene ends. Intended for unloading rather than loading a SoundBank.
- AkTrigger options: There are multiple AkTrigger options.
AkTriggerEnter
, for example, could be applied so that when a player enters a room the SoundBank loads. Be aware of the risk of lag in sound should the SoundBank not be loaded when a room sound would be needed. See Wwise 301's Loading SoundBanks using Triggers for a more thorough overview of using Triggers to load SoundBanks.
- Unload On: The moment the game should unload the SoundBank. Click to select one or more of the following options:
- Start: When the scene loads. Intended for loading rather than unloading a SoundBank.
- Nothing: Default option from Unity, which should not be used.
- Everything: Default option from Unity, which should not be used.
- Awake: When the current game object becomes active. Intended for loading rather than unloading a SoundBank.
- Destroy: When the scene ends. This is the default setting and normal way to unload SoundBanks.
- AkTrigger options: There are multiple AkTrigger options.
AkTriggerExit
, for example, could be applied so that when a player exits a room the SoundBank unloads.
- Override Load Setting: Overrides the Load Bank Asynchronously setting in the Wwise Initialization Settings (Edit > Project Settings > Wwise Initialization). When enabled, the Load Bank Asynchronously setting is visible, which you can select to load this bank asynchronously.
- Load Bank Asynchronously: Returns the
LoadBank
function call immediately, which indicates whether the load request is successfully queued, and allows other operations to be performed while the actual loading continues in the background. The synchronous version blocks the main processing thread waiting for the load to complete. Asynchronous calls are best for large SoundBanks which do not need to be loaded immediately. - See also
- The SDK reference doc for the asynchronous version of
LoadBank
- Decode compressed data: Decompresses all the SoundBank's Vorbis and Opus compressed files.
- See also
-
- Save decoded bank: Stores the uncompressed files to disk so as to have them available to load more quickly after the SoundBank has been unloaded.
- Name: Click to select the SoundBank from those already defined in WwiseProject > Banks. To add a new SoundBank, you can click the Create new 'SoundBank' button within the Wwise Project Explorer's SoundBanks tab.
- See also
-
Besoin d'aide ?
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'Aide
Décrivez-nous de votre projet. Nous sommes là pour vous aider.
Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise