Show/hide switching between scenes while disabling buttons,How to show/hide back and forth between Canvas panels and disable buttons at the same time?
So I have a scene where the user will click on buttons to switch back and forth between different canvas panels by show/hide (.setActive() == true; or .setActive() == false;). Only one canvas panel is active at any given time. The order goes:
User clicks on a button. This hides the current panel and makes the hidden panel visible.
User clicks on 'back' button. This takes them back to the previous panel.
However, the button the user clicked on is now disabled(greyed out)
All buttons the user clicks on is greyed out except 'back' button.
Does anyone know of any way to script this or lay this out in the hierarchy/inspector?
N.B Also this is developing for an Oculus GO App
Your answer
Follow this Question
Related Questions
Why does my audio get messed up in the last part of this script? 0 Answers
Highlight animation on button changes whenever the button is pressed? 0 Answers
Add A Start Off State for Switch Case Scenario 2 Answers
change ui button color to 'selected' in script 0 Answers
clicking button using script? 1 Answer