I am making a game where if you hold down a button for a certain amount of time it shoots a small bullet. but if you hold it for longer it shoots a larger bullet. is there a way for this? I would also like to display the timer somehow.
On button down you can add time to a variable to get the time that passed. Then on button up use that variable to figure the size you want and set it to 0.
bulletSize += Time.deltaTime;