Quantcast
Channel: Answers for "sound not loading C#"
Browsing all 8 articles
Browse latest View live

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 Article



Answer by MuffinMyst

to play audio in C# use nameOfAudioClip.Play(); so for you mySound.Play();

View Article

Answer 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 Article

Answer 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

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 Article


Answer by MuffinMyst

to play audio in C# use nameOfAudioClip.Play(); so for you mySound.Play();

View Article

Answer 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 Article

Answer 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

Browsing all 8 articles
Browse latest View live


Latest Images