NodeWorld

InputButton

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public enum InputButton

Namespace NodeWorld.Flux.

The buttons of the local player's controls (VR controllers, or what the desktop controls map to them).

Values

Jump

csharp
Jump = 1

Jump.

Use

csharp
Use = 2

Use (trigger) of either hand.

Grab

csharp
Grab = 3

Grab (grip) of either hand.

LeftTrigger

csharp
LeftTrigger = 4

Trigger of the left controller.

RightTrigger

csharp
RightTrigger = 5

Trigger of the right controller.

LeftGrip

csharp
LeftGrip = 6

Grip of the left controller.

RightGrip

csharp
RightGrip = 7

Grip of the right controller.

LeftPrimary

csharp
LeftPrimary = 8

Primary button (A / X).

RightPrimary

csharp
RightPrimary = 9

Primary button of the right controller (A).

LeftSecondary

csharp
LeftSecondary = 10

Secondary button (B / Y).

RightSecondary

csharp
RightSecondary = 11

Secondary button of the right controller (B).

Down

csharp
Down = 12

Crouch / go down (desktop: C or Ctrl).