Hi,
Very new to Unity but I’m currently building out a VR project. I’m getting the hang of things like gameobjects, environments etc… but struggling a bit with scripting.
What I have is a map scene with various popups that will appear as you progress through the ‘game’. Each popup has a button which you click and then are taken to another scene where you watch a video and then click a button to return to the map scene.
On returning to the map scene I want the next popup to appear. My thinking is bascally to have a variable called “mapprorgress” increase by 1 when the user clicks the previous popup, then on returning to the map another script will check the value and display the next popup based on the value.
Map Load First time - “mapprogress = 1”
Map Popup 1 click - “mapprogress +1”
Return to map - “if mapprogress = 2 then show popup2, elseif mapprogress =3 then show popup3 etc…”
Am I going about this the right way? It feels like there might be an easier way to accomplish this?