Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » FREE Project Downloads & Recources » Scripts » Need help to apply password on "Level Selection Menu" !!!

Need help to apply password on "Level Selection Menu" !!!

View previous topic View next topic Go down  Message [Page 1 of 1]

Royal Tomar


Member [Lv. 2]
Member [Lv. 2]
Hey guys I am participation in Game Developing competition and it is on 17th of August so  I need your instant help ...
So I have created a Level Selection Menu with 4 levels in it and I need to apply password on different levels ...
It should be like when I click on the level button I would I have to enter a password in order to start the assigned level scene ...
can anybody help me with the same !?

View user profile

supamigit


Member [Lv. 3]
Member [Lv. 3]
Word based sudo Again cause i have noneyour code to work with..

Basically its a check system..

1- are users setting passwords
2- are you..

link a variable to the level that checks the string once the mouse(0) is clicked

string pw = "PASSWORDLEVEL1";
TextInput = secret; // GUI input


Mouse(0) Clicked
if(pw = secret)
{
     loadLevel(me);
}

Something along those lines =)..

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum