Quantcast
Viewing latest article 7
Browse Latest Browse All 29

Answer by The_Magical_Kiwi

You need to build a gui for your password prompt. A guide on building a GUI can be found here: http://docs.unity3d.com/Documentation/Components/GUIScriptingGuide.html Your code for bringing up the GUI might look something like: void checkDoor(){ if(doorIsClicked){ showPrompt = true; }else{ showprompt = false; } } void OnGUI(){ if(showPrompt){ //gui stuff goes here } }

Viewing latest article 7
Browse Latest Browse All 29

Trending Articles