Input.wasPressed

Whether a user pressed the specified binding button the last frame

class Input
static static
bool
wasPressed
(
string name
)

Meta