to keep it short,
I want to create subMenus based on the same layer, and just get into the center of screen with lerp.
There are 3x "isMainside" (numbers): on start of layout they are set to 0.
"isMainside = 1" (go to second page)
"isMainside1 = 1" (go to third page)
the problem is, when I activate the number from 0 to 1 the script rush through all instanses, as you can see in the Video.
How do I stop the script rushing through all Instanses and just update the numbers once at a Time.
when Button A down, and isMainSide = 0 -> set isMainSide to 1 (activated(while activated it should move to second page))
when Button A down, and isMainSide = 1, and isMainSide1 = 0 -> set isMainSide1 = 1 (go to third page)
in the video you´re able to see what im talking about.
I allready tried with boolean but boolean means it always trigger while activated.
thanks for helping.
hopefully its understandable what im talking about.
The problem maybe is -> as long as the Button A is down, it rushes through. To bad there is no on button A pressed option.