Answer by kwokman
Just incase someone else just wants to simply play sound in c#, this works for me: AudioSource audio = gameObject.addComponent(); audio.PlayOneShot((AudioClip)Resources.Load("clank1"));
View ArticleAnswer by kwokman
You can try the simple: AudioSource audio = gameObject.AddComponent (); audio.PlayOneShot ((AudioClip)Resources.Load ("gunshot1"));
View ArticleAnswer by kwokman
You can try the simple: AudioSource audio = gameObject.AddComponent (); audio.PlayOneShot ((AudioClip)Resources.Load ("gunshot1"));
View ArticleAnswer by kwokman
You can try the simple: AudioSource audio = gameObject.AddComponent (); audio.PlayOneShot ((AudioClip)Resources.Load ("blow"));
View Article
More Pages to Explore .....