Leçon 4

Table des matières

Posting Events using Wwise-Types

Let's start small and post an Event using Wwise-Types. Wwise-Types are a simple way of working with core objects in Wwise, like Events, SoundBanks, Switches and so on, and once you make a 'public' Wwise-Type property in a script, it will be exposed as a property drawer in the Inspector.

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:

  1. Create a Wwise-Type Event class property.

  2. Assign the variable to the 'Destruction_Rocks' Event.

  3. Validate that the script is working properly, by posting the Event when the game starts.

[Note]

To edit scripts, you can use the code editor of your choice; however, we will be referring to Visual Studio throughout this certification.


Cette page a-t-elle été utile ?