Hey guys, i saw a tutorial on youtube, that helps making a 3d menu. The guy used a script called hover script, but when i download it an error message displays that the host is unidentified, can anyone help?
This is not really a problem you’re having with Unity. And a link to the tutorial would help understand exactly what the problem is. Anyway, I had no problem downloading the script in your link, here it is :
var levelToLoad : String;
var soundhover : AudioClip;
var beep : AudioClip;
var QuitButton : boolean = false;
function OnMouseEnter(){
audio.PlayOneShot(soundhover);
}
function OnMouseUp(){
audio.PlayOneShot(beep);
yield new WaitForSeconds(0.35);
if(QuitButton){
Application.Quit();
}
else{
Application.LoadLevel(levelToLoad);
}
}
@script RequireComponent(AudioSource)