Quantcast
Channel: Answers by "dalekandjedi"
Browsing all 6 articles
Browse latest View live

Answer by dalekandjedi

var objectOfAnimation : GameObject; // Drag your object with the animation into this slot in the inspector function OnTriggerEnter(other : Collider) { if (other.tag == "untitled") {...

View Article


Answer by dalekandjedi

var objectOfAnimation : GameObject; // Drag your object with the animation into this slot in the inspector function OnTriggerEnter(other : Collider) { if (other.tag == "untitled") {...

View Article


Answer by dalekandjedi

var audio1 : AudioClip; var audio2 : AudioClip; function OnTriggerEnter (other : Collider) { if (other.tag == "Car"){ audio.clip = audio1; audio.Play(); } //Play another sound audio.clip = audio2;...

View Article

Answer by dalekandjedi

var objectOfAnimation : GameObject; // Drag your object with the animation into this slot in the inspector function OnTriggerEnter(other : Collider) { if (other.tag == "untitled") {...

View Article

Answer by dalekandjedi

var objectOfAnimation : GameObject; // Drag your object with the animation into this slot in the inspector function OnTriggerEnter(other : Collider) { if (other.tag == "untitled") {...

View Article


Answer by dalekandjedi

var audio1 : AudioClip; var audio2 : AudioClip; function OnTriggerEnter (other : Collider) { if (other.tag == "Car"){ audio.clip = audio1; audio.Play(); } //Play another sound audio.clip = audio2;...

View Article
Browsing all 6 articles
Browse latest View live


Latest Images