Sequential Toggle (and Being Able To Go In Reverse)

I am trying to setup sequential toggles.

IE 12345 54321

However, I don’t want the previous one to turn off when I click the next one.

IE 1 is on. if I turn on 2, 1 still stays on and isn’t interactable however should I turn of 2, 1 becomes interactable again. Doing this all the way up to toggle 5. I’m not so good at the coding part so I am trying to uses the OnValueChanged in the toggle script component in the inspector.

So far I can get it to go forward 1 thru 5 and turn of the interaction for the previous toggles so they can’t be changed. However, when turn of toggle 5 I can’t get it to reactivate the interactable on 4 and what not so I can make it go back and forth.

If this has been covered a link would be greatly appreciated.




Wanna share with the rest of the class?