How do I tell if a button is being held or not? (instead of just the normal button system, where it tells you right after the user releases it)
Is there like an OnButtonDown() and OnButtonUp() that I could use to tell if a button is being held?
How do I tell if a button is being held or not? (instead of just the normal button system, where it tells you right after the user releases it)
Is there like an OnButtonDown() and OnButtonUp() that I could use to tell if a button is being held?
Nevermind. I found a solution. Instead of GUI.Button simply put in GUI.RepeatButton, returns true if pressed and false if not. All the parameters stay the same. Easy fix.