my first audio is When helicopter engine start. it will play and its fine
my second audio when helicopter fall it will explode but no explosion sound. can some1 help me thx
my first audio is inside fixed update switch case:1 audio.PlayOneShot(sound);
under function Update(){ audio.pitch = rotor_Velocity; // this 2 belong to first audio
my second audio here: // not working
var explosion : Transform;
var sound1 :AudioClip; // my second audio
function OnCollisionEnter(Col : Collision){
if(Col.gameObject.name == "Terrain")
{
if(occur == true)
{
var explosion1 : Transform;
explosion1 = Instantiate(explosion,transform.position,transform.rotation);
audio.PlayOneShot(sound1);
}
}
}