With the simple button command as follows, i have been trying to achieve a pressed state.
if (GUI.Button (new Rect (Screen.width/2 - Screen.width/8, Screen.height/2, Screen.width/4, Screen.height/7), "Fold")) {
print("pressing");
}
With the following code, when I press and hold down the button, it only prints pressing once. I want console to print “pressing” continuously as long as I am holding down the button. Is this possible? If so, how? Thanks in advance!