- Home /
Main Menu Problem
I used this video: http://www.youtube.com/watch?v=Z8YGKQvEz1Y
This script:
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)
and I used the map name Map_Select which is the right name. IT WONT WORK WHEN I CLICK THOUGH.
Please Help
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Bullet not moving 1 Answer
Sound script problem. 0 Answers
Script Problem 1 Answer
pause menu on android phone 1 Answer