Gui Password-Script

Hi!
I’m going to make a Horror Game for Android, but I need a script for some locked doors.
I need a Gui Script.

Example:If I click on Picture 1 and after this I click on Picture 2 it will not open the door, but when
I click on Picture 2 and then on Picture 1 it will open.
I don’t know how this will work because I’m not good with GUI Scripting.
Please help me.

Thanks:smile:!

Sounds like you just need some GUI.Buttons, they just work as boolean variables so like

if(GUI.Button(Rect(whatever position),Texture for image two))
imagetwoClicked = true;
if(GUI.Button(Rect(other position),Texture for image one))
if(imageTwoClicked)
OpenDoor();

Hope this helped. If you need anything PM me on the forums. Good Luck!