Version: 2019.1
public static bool GetButton (string name);

Parameters

nameName of input to poll.

Description

Returns the binary value of a button.

True for pressed, false otherwise.