Answer by zenforhire
Assume won't play means you cannot hear it? Check the Audio Listener is close enough to source. Check the roll off of the sound based on distance.
View ArticleAnswer by MuffinMyst
to play audio in C# use nameOfAudioClip.Play(); so for you mySound.Play();
View ArticleAnswer by M.G. Production
Hi FlashX! I would do this instead: //Simply Drag and drop your Sound in this var **public** AudioClip mySound; void Start() { //Forget About looking in ressources... audio.PlayOneShot (mySound); } PS:...
View ArticleAnswer by FlashX
Thanks dudes, I ended up using the following, simple, but true :/ private AudioClip soundthing; void Start(){ audio.clip = (AudioClip)Resources.Load("soundthing"); audio.Play(); } Keep up the amazing...
View ArticleAnswer by zenforhire
Assume won't play means you cannot hear it? Check the Audio Listener is close enough to source. Check the roll off of the sound based on distance.
View ArticleAnswer by MuffinMyst
to play audio in C# use nameOfAudioClip.Play(); so for you mySound.Play();
View ArticleAnswer by M-G-Production
Hi FlashX! I would do this instead: //Simply Drag and drop your Sound in this var **public** AudioClip mySound; void Start() { //Forget About looking in ressources... audio.PlayOneShot (mySound); } PS:...
View ArticleAnswer by FlashX
Thanks dudes, I ended up using the following, simple, but true :/ private AudioClip soundthing; void Start(){ audio.clip = (AudioClip)Resources.Load("soundthing"); audio.Play(); } Keep up the amazing...
View Article