Search found 1 match
- Sun Jun 16, 2013 3:51 am
- Forum: Programming Discussion
- Topic: Unity3d Audio Issues
- Replies: 0
- Views: 25109
Unity3d Audio Issues
So I did (in Unity editor): GameObject -> Create Empty the I dragged my Avatar.cs (the main player animation MonoBehaviour) onto the gamefile. Inside Avatar.cs I added: public AudioClip audioClipJump; and // this is where the jump animation gets played audio.PlayOneShot(audioClipJump); Back in Unity...