Hi all! I have this simple door script:
var AudioFile : AudioClip;
function OnTriggerStay (other : Collider) {
if (Input.GetButtonDown("Fire1")){
animation.Play("open");
audio.clip = AudioFile;
audio.Play();
}
}
I want to add a GUI texture so that a hand texture appears when in the trigger. I have no clue how to do this. Can anyone link tutorials or code? Thanks!