GameObject -> Create Empty
the I dragged my Avatar.cs (the main player animation MonoBehaviour) onto the gamefile.
Inside Avatar.cs I added:
Code: Select all
public AudioClip audioClipJump;
Code: Select all
// this is where the jump animation gets played
audio.PlayOneShot(audioClipJump);
Then I go into the game, and the jump animation plays, but I have no sound

here is a screenshot of the Unity editor: http://i.imgur.com/yAtmxgH.png
and like I said, just the 2 lines in the C# file