Table des matières
Let's start small and post an Event using Wwise-Types. Wwise-Types are a collection of classes corresponding to the types of core objects in Wwise, like an Event, a SoundBank, a Switch and so on. Once you make a Wwise-Type class property in a script, it will be exposed in the Inspector window as a Wwise-Type property drawer.
As such, the Wwise-Type classes allow you to very easily expose any Event, SoundBank, Switch, or other Wwise object in the Inspector with a single property in a script. In this lesson, you will be asked to:
Create a Wwise-Type Event class property.
Assign the variable to the 'Destruction_Rocks' Event.
Validate that the script is working properly, by posting the Event when the game starts.
To edit scripts, you can use the code editor of your choice; however, we will be referring to Visual Studio throughout this certification.