Is I want to have a wind sound outside a building. But then when I go inside the building model to plays a different sound. How would I go about doing that? Thanks.
1.find are u inside OR outside of building
2.using Collision r someotherway
3.Change sound like this
Refer:
change AudioClip on AudioSource GameObject.
u may use
myclip=Resources.Load(“urclip”);
GameObject.Find (“yourgm”).GetComponent ().audio.clip = myclip;
audio.Play ();