Hi,
I have a GUI.RepeatButton on my screen and I would like it to have 2 function.
If the user mouseClicks it and releases it immediately - it should load level 1.
If the user holds the mouse down for 3 seconds and releases it - it should load level 0.
The button will be used to do this:
- when clicked normally - it will quit the game and load the MainMenu (level1)
- when clicked and held down - it will quit the game and load the LoginScreen (level0)
I’ve been searching for a solution for some time now, but all I can found are some workarounds.
Doesn’t this class have it’s Input.MouseButtonUp equivalent?
A kind of a “GUI.RepeatButtonUp” option?