Now, before we get into the core of the new ApplicationManager, we need to add another component to the AppManager object.
While I like the atmospheric sounds that play when the game begins, it needs something else for when the ball is thrown. Let's add that now:
- With AppManager selected, click on AddComponent | Audio | AudioSource.
- Get the skee.wav file from the downloads package and put it in your Sounds directory.
- Drag the skee.wav file to the AudioClip field of the AudioSource component and drop it.
- Then, change the Spatial Blend from 2D to 3D.
With the new audio source added to the object, we now need to get a reference to the Application Manager component. How are we going to do that? They are on the same object. ...