Property | Type | Description | |
---|---|---|---|
bufferTime | float | ||
firstRepeatTime | float | ||
multiRepeatTime | float | ||
nodes | List |
Method | Description | |
---|---|---|
VirtualButton ( ) : System.Collections.Generic | ||
VirtualButton ( float bufferTime ) : System.Collections.Generic | ||
addGamePadButton ( int gamepadIndex, Buttons button ) : |
adds a GamePad buttons press to this VirtualButton
|
|
addGamePadDPad ( int gamepadIndex, Direction direction ) : |
adds a GamePad DPad press to this VirtualButton
|
|
addGamePadLeftTrigger ( int gamepadIndex, float threshold ) : |
adds a GamePad left trigger press to this VirtualButton
|
|
addGamePadRightTrigger ( int gamepadIndex, float threshold ) : |
adds a GamePad right trigger press to this VirtualButton
|
|
addKeyboardKey ( Keys key ) : |
adds a keyboard key to this VirtualButton
|
|
addKeyboardKey ( Keys key, Keys modifier ) : |
adds a keyboard key with modifier to this VirtualButton. modifier must be in the down state for isPressed/isDown to be true.
|
|
addMouseLeftButton ( ) : |
adds a left mouse click to this VirtualButton
|
|
addMouseRightButton ( ) : |
adds a right mouse click to this VirtualButton
|
|
consumeBuffer ( ) : void | ||
setRepeat ( float repeatTime ) : void | ||
setRepeat ( float firstRepeatTime, float multiRepeatTime ) : void | ||
update ( ) : void |
public VirtualButton ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public VirtualButton ( float bufferTime ) : System.Collections.Generic | ||
bufferTime | float | |
return | System.Collections.Generic |
public addGamePadButton ( int gamepadIndex, Buttons button ) : |
||
gamepadIndex | int | Gamepad index. |
button | Buttons | Button. |
return |
public addGamePadDPad ( int gamepadIndex, Direction direction ) : |
||
gamepadIndex | int | Gamepad index. |
direction | Direction | Direction. |
return |
public addGamePadLeftTrigger ( int gamepadIndex, float threshold ) : |
||
gamepadIndex | int | Gamepad index. |
threshold | float | Threshold. |
return |
public addGamePadRightTrigger ( int gamepadIndex, float threshold ) : |
||
gamepadIndex | int | Gamepad index. |
threshold | float | Threshold. |
return |
public addKeyboardKey ( Keys key ) : |
||
key | Keys | Key. |
return |
public addKeyboardKey ( Keys key, Keys modifier ) : |
||
key | Keys | Key. |
modifier | Keys | Modifier. |
return |
public addMouseLeftButton ( ) : |
||
return |
public addMouseRightButton ( ) : |
||
return |
public setRepeat ( float firstRepeatTime, float multiRepeatTime ) : void | ||
firstRepeatTime | float | |
multiRepeatTime | float | |
return | void |