Свойство | Type | Description | |
---|---|---|---|
nodes | List |
||
normalized | bool |
Méthode | Description | |
---|---|---|
VirtualJoystick ( bool normalized ) : System.Collections.Generic | ||
addGamePadDPad ( int gamepadIndex ) : |
adds GamePad DPad input to this VirtualJoystick
|
|
addGamePadLeftStick ( int gamepadIndex, float deadzone = Input.DEFAULT_DEADZONE ) : |
adds GamePad left stick input to this VirtualJoystick
|
|
addGamePadRightStick ( int gamepadIndex, float deadzone = Input.DEFAULT_DEADZONE ) : |
adds GamePad right stick input to this VirtualJoystick
|
|
addKeyboardKeys ( OverlapBehavior overlapBehavior, Keys left, Keys right, Keys up, Keys down ) : |
adds keyboard keys input to this VirtualJoystick. Four keyboard keys will emulate left/right/up/down. For example WASD or the arrow keys.
|
|
update ( ) : void |
public VirtualJoystick ( bool normalized ) : System.Collections.Generic | ||
normalized | bool | |
Résultat | System.Collections.Generic |
public addGamePadDPad ( int gamepadIndex ) : |
||
gamepadIndex | int | Gamepad index. |
Résultat |
public addGamePadLeftStick ( int gamepadIndex, float deadzone = Input.DEFAULT_DEADZONE ) : |
||
gamepadIndex | int | Gamepad index. |
deadzone | float | Deadzone. |
Résultat |
public addGamePadRightStick ( int gamepadIndex, float deadzone = Input.DEFAULT_DEADZONE ) : |
||
gamepadIndex | int | Gamepad index. |
deadzone | float | Deadzone. |
Résultat |
public addKeyboardKeys ( OverlapBehavior overlapBehavior, Keys left, Keys right, Keys up, Keys down ) : |
||
overlapBehavior | OverlapBehavior | Overlap behavior. |
left | Keys | Left. |
right | Keys | Right. |
up | Keys | Up. |
down | Keys | Down. |
Résultat |