Метод | Описание | |
---|---|---|
GetButton ( PS4Controller, buttonId ) : bool | ||
GetButtonDown ( PS4Controller, buttonId ) : bool | ||
GetButtonName ( BaseController, buttonId ) : string | ||
GetButtonUp ( PS4Controller, buttonId ) : bool | ||
GetDPad ( ) : Vector2 | ||
GetLeftJoystick ( ) : Vector2 | ||
GetRightJoystick ( ) : Vector2 | ||
SetKeyMapping ( ) : void |
Метод | Описание | |
---|---|---|
AddJoystickButtonMap ( PS4Controller, buttonId, int inputKey ) : void |
public GetButton ( PS4Controller, buttonId ) : bool | ||
buttonId | PS4Controller, | |
Результат | bool |
public GetButtonDown ( PS4Controller, buttonId ) : bool | ||
buttonId | PS4Controller, | |
Результат | bool |
public GetButtonName ( BaseController, buttonId ) : string | ||
buttonId | BaseController, | |
Результат | string |
public GetButtonUp ( PS4Controller, buttonId ) : bool | ||
buttonId | PS4Controller, | |
Результат | bool |