Version: Unity 6.3 LTS (6000.3)
LanguageEnglish
  • C#

CommonUsages.secondary2DAxisClick

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static InputFeatureUsage<bool> secondary2DAxisClick;

Description

Represents the secondary 2D axis being clicked or otherwise depressed.

The secondary 2D axis is the Vector2 input feature tagged with CommonUsages.secondary2DAxis. A click means that the user presses the joystick or touchpad inward, toward the body of the controller. Moving the joystick or touchpad to one side changes the value of CommonUsages.secondary2DAxis, but doesn't set this feature to true.