Picking up collectables in a correct (custom set) order to open gates?
Hi, i'm still very new to unity and have almost zero knownledge over coding, however i'm trying to find a very simple script that makes my player pick up an object(cube) by touching it, disabling the object(cube), and openinig(disabling) a gate that blocks the player path IF the number of objects(cubes) are collected in a very specific order that i have set.
More detailed: the cubes have letters on them, the objective is to form a word by picking up the cubes in the correct order. if they pick it up in a wrong order, i't should reset so they can try again.
The objective is to do this in around 2 minutes, if the 2 minutes are over, another gate will open that contains no rewards.
Can someone help me with this? Sorry if it's been posted before but i can't seem to find anything. Ps: i'm using the rollerball from the tutorial as practice.
hey; u want lots of things :) its not helping but coding ;
if u want full help install this app "any desk"
and send your id to my gmail : savajjad@gmail.com
so i can connect and explain u on your system
Your answer
![](https://koobas.hobune.stream/wayback/20220612154251im_/https://answers.unity.com/themes/thub/images/avi.jpg)