Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ClusterInput.GetButton

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.