Hi I would like a script to execute repeatedly while a button is pressed down.
For example, increment a number by 1 while the button is pressed down, and stop incrementing when the button is no longer pressed/in focus.
I can only seem to be able to get the button to increment ONCE on mouse pressed event script.
Will i have to make a custom event method? None of the events in the standard component scripting window seem to be able to do the job.