GetButtonDown(string)
Interface to Input.GetButtonDown. Can be overridden to provide custom input instead of using the Input class.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public virtual bool GetButtonDown(string buttonName)
Parameters
Button name to get
Returns
Type | Description |
|---|---|
| bool | Returns true during the frame the user pressed down the virtual button identified by buttonName. |