- Home /
Best way to disable all UI events except for one button
Hi, We are making a UI based game and I need to implement a "tutorial" in the begging of the game, during which I need to disable every UI events except for one button. I can use tags and disable all buttons, but I also need to disable other UI events like drag. Of course, I can manually disable and enable each button/scrollrect/etc, but this is not very clean because there is no guarantee that no new elements will be added in the future.
Is there any clean way to do that with event system?
Your answer
Follow this Question
Related Questions
Find and set the object of an event type with script? 0 Answers
Is there a way to fire the inspector events from code? 0 Answers
Button.Select(); does not highlight? 12 Answers
How to get the fingerID (Touch) that is pressing a specific UI button. 0 Answers
When i press play the buttons work, however, the buttons dont work on my iphone. 1 Answer