Hello,
- I have created a user interface with a button that has a script that opens the settings for the user when calling the On Click() function built into the button editor.
- I also have the same Input Manager script that is attached to my Player which uses touchScreen->Primary Contact and initializes a boolean to true when screen is touched and false when not. This starts my game and the player starts moving.
- Input manager is also attached to my main menu canvas scene which is loaded in additively at the start of the each Level. The input manager turns off the options menu when game starts.
What would be the best way to enable/disable ui on tap of screen but also be able to click on the UI elements without starting the game?