menu
Wwise
arrow_drop_down
Strata
arrow_drop_down
Solutions
arrow_drop_down
Apprendre
arrow_drop_down
Communauté
arrow_drop_down
Documentation
arrow_drop_down
Aide
arrow_drop_down
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Wwise Unity Integration Documentation
|
By default, the Wwise Unity Integration assumes the platforms defined in the associated Wwise project all have the default name. If you wish to give your platforms a custom name or define multiple custom platforms for a base platform, you will need to create a C# script to handle this.
info | Note: | This page assumes that the subfolder in which your SoundBanks are generated has the same name as your platform. If this is not the case, note that the string returned by the GetPlatformName method is actually used as the in-game SoundBank subfolder name. |
The default platform resolving script can be found in the file <UNITY_PROJECT_ROOT>/Assets/Wwise/Deployment/Components/AkBasePathGetter.cs
. As seen in the GetPlatformName()
method, default names for all platforms are returned by this function. If you wish to use your own platform names, you will have to extend this partial class.
This example will only cover a use case for the iOS platform. In the example, you wish to have three different custom platforms for the iOS base platform: one for iPods, one for iPhones, and one for iPads.
AkBasePathGetter
. The contents of this file will be like this: info | Note: | If platformName is left unmodified, the default platform name for the current active Unity platform will be used. |
AkBuildPreprocessor
or (b) create a C# script that uses the functionality within AkBuildPreprocessor
. The contents of the file could be as follows: UNITY_PROJECT_ROOT/Assets/StreamingAssets/Audio/GeneratedSoundBanks
.Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideEnregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise