Two easy to use scripts for creating menu buttons on the GUI layer that work both with mouse input and touch screen devices.
Use any two image sprite as a button, when you mouse over the button it will display image 1. Simply call the script as an if statement and when you click the button it'll run the code within the statement.
The script can be used to place multiple buttons using only one object!
Incudes full instructions within the scripts, and a sample menu object and room. No need to credit me in anything you create using these scripts.
End User Licence Agreement (EULA).