Quantcast
Channel: Answers for "Playing sound through pickup trigger"
Browsing all 4 articles
Browse latest View live

Answer by Mint92

I get an error "There is no AudioSource attached to the "Player" game object, but a script is trying to access it.

View Article



Answer by Molton Metal

Make sure that both gameObjects have a collider, and that the gameObject that is tagged "Pickups", has 'Is Trigger' set to true. Also on either gameObject, one of them should have a rigidbody to...

View Article

Answer by Mint92

I get an error "There is no AudioSource attached to the "Player" game object, but a script is trying to access it.

View Article

Answer by Psycho8Vegemite

Make sure that both gameObjects have a collider, and that the gameObject that is tagged "Pickups", has 'Is Trigger' set to true. Also on either gameObject, one of them should have a rigidbody to...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images