LanguageEnglish
  • C#
Method group is Obsolete

ClusterInput.GetButton

Obsolete This type is deprecated and will be removed in Unity 7.

Declaration

public static bool GetButton(string name);

Parameters

name Name of input to poll.

Description

Returns the binary value of a button.

True for pressed, false otherwise.


Did you find this page useful? Please give it a rating: