Свойство | Type | Description | |
---|---|---|---|
playerType | KeyboardPlayerType |
Méthode | Description | |
---|---|---|
KeyboardPlayerInput ( KeyboardPlayerType _playerType ) : System |
Register the keyboard as player input
|
|
getActionHold ( ) : bool | ||
getActionPressDown ( ) : bool | ||
getHorizontalAxis ( ) : float | ||
getName ( ) : string | ||
getVerticalAxis ( ) : float |
public KeyboardPlayerInput ( KeyboardPlayerType _playerType ) : System | ||
_playerType | KeyboardPlayerType | /// Which keyboard buttons to register WASD uses W, A, S, and D buttons. /// ARROW uses right, left, down, and up buttons /// |
Résultat | System |