|
| GenericInput (string keyboard, string joystick, string mobile) |
| Initialise a new GenericInput More...
|
|
| GenericInput (string keyboard, bool keyboardAxis, string joystick, bool joystickAxis, string mobile, bool mobileAxis) |
| Initialise a new GenericInput More...
|
|
| GenericInput (string keyboard, bool keyboardAxis, bool keyboardInvert, string joystick, bool joystickAxis, bool joystickInvert, string mobile, bool mobileAxis, bool mobileInvert) |
| Initialise a new GenericInput More...
|
|
bool | GetButton () |
| Get Button More...
|
|
bool | GetButtonDown () |
| Get ButtonDown More...
|
|
bool | GetButtonUp () |
| Get Button Up More...
|
|
float | GetAxis () |
| Get Axis More...
|
|
float | GetAxisRaw () |
| Get Axis Raw More...
|
|
bool | GetDoubleButtonDown (float inputTime=1) |
| Get Double Button Down Check if button is pressed Within the defined time More...
|
|
bool | GetButtonTimer (float inputTime=2) |
| Get Buttom Timer Check if button is pressed for defined time More...
|
|
bool | GetAxisButton (float value=0.5f) |
| Get Axis like a button
More...
|
|
bool | GetAxisButtonDown (float value=0.5f) |
| Get Axis like a buttonDown
More...
|
|
bool | GetAxisButtonUp () |
| Get Axis like a buttonUp Check if Axis is zero after press
- Returns
More...
|
|
◆ GenericInput() [1/3]
Invector.vCharacterController.GenericInput.GenericInput |
( |
string |
keyboard, |
|
|
string |
joystick, |
|
|
string |
mobile |
|
) |
| |
◆ GenericInput() [2/3]
Invector.vCharacterController.GenericInput.GenericInput |
( |
string |
keyboard, |
|
|
bool |
keyboardAxis, |
|
|
string |
joystick, |
|
|
bool |
joystickAxis, |
|
|
string |
mobile, |
|
|
bool |
mobileAxis |
|
) |
| |
◆ GenericInput() [3/3]
Invector.vCharacterController.GenericInput.GenericInput |
( |
string |
keyboard, |
|
|
bool |
keyboardAxis, |
|
|
bool |
keyboardInvert, |
|
|
string |
joystick, |
|
|
bool |
joystickAxis, |
|
|
bool |
joystickInvert, |
|
|
string |
mobile, |
|
|
bool |
mobileAxis, |
|
|
bool |
mobileInvert |
|
) |
| |
◆ GetAxis()
float Invector.vCharacterController.GenericInput.GetAxis |
( |
| ) |
|
◆ GetAxisButton()
bool Invector.vCharacterController.GenericInput.GetAxisButton |
( |
float |
value = 0.5f | ) |
|
Get Axis like a button
- Parameters
-
value | Value to check need to be diferent 0 |
- Returns
◆ GetAxisButtonDown()
bool Invector.vCharacterController.GenericInput.GetAxisButtonDown |
( |
float |
value = 0.5f | ) |
|
Get Axis like a buttonDown
- Parameters
-
value | Value to check need to be diferent 0 |
- Returns
◆ GetAxisButtonUp()
bool Invector.vCharacterController.GenericInput.GetAxisButtonUp |
( |
| ) |
|
Get Axis like a buttonUp Check if Axis is zero after press
- Returns
◆ GetAxisRaw()
float Invector.vCharacterController.GenericInput.GetAxisRaw |
( |
| ) |
|
◆ GetButton()
bool Invector.vCharacterController.GenericInput.GetButton |
( |
| ) |
|
◆ GetButtonDown()
bool Invector.vCharacterController.GenericInput.GetButtonDown |
( |
| ) |
|
◆ GetButtonTimer()
bool Invector.vCharacterController.GenericInput.GetButtonTimer |
( |
float |
inputTime = 2 | ) |
|
Get Buttom Timer Check if button is pressed for defined time
- Parameters
-
inputTime | time to check button press |
- Returns
◆ GetButtonUp()
bool Invector.vCharacterController.GenericInput.GetButtonUp |
( |
| ) |
|
◆ GetDoubleButtonDown()
bool Invector.vCharacterController.GenericInput.GetDoubleButtonDown |
( |
float |
inputTime = 1 | ) |
|
Get Double Button Down Check if button is pressed Within the defined time
- Parameters
-
- Returns
◆ useInput
bool Invector.vCharacterController.GenericInput.useInput = true |
◆ buttonName
string Invector.vCharacterController.GenericInput.buttonName |
|
get |
◆ inputDevice
InputDevice Invector.vCharacterController.GenericInput.inputDevice |
|
getprotected |
◆ isAxis
bool Invector.vCharacterController.GenericInput.isAxis |
|
get |
◆ isAxisInvert
bool Invector.vCharacterController.GenericInput.isAxisInvert |
|
get |
◆ isKey
bool Invector.vCharacterController.GenericInput.isKey |
|
get |
◆ key
KeyCode Invector.vCharacterController.GenericInput.key |
|
get |
The documentation for this class was generated from the following file:
- ShooterCommit/Assets/Invector-3rdPersonController/Basic Locomotion/Scripts/CharacterController/vInput.cs