◆ LoadFromFile()
static StandardInputData PlatformerPro.StandardInputData.LoadFromFile |
( |
string |
fullPath | ) |
|
|
static |
Loads input data from file.
- Returns
- The loaded data or null if data not loaded.
- Parameters
-
◆ LoadFromResource()
static StandardInputData PlatformerPro.StandardInputData.LoadFromResource |
( |
string |
resourceName | ) |
|
|
static |
Loads input data from Unity resource folder
- Returns
- The loaded data or null if data not loaded.
- Parameters
-
resourceName | Resource name. |
◆ SaveToFile()
static void PlatformerPro.StandardInputData.SaveToFile |
( |
string |
fullPath, |
|
|
StandardInputData |
data |
|
) |
| |
|
static |
◆ actionButtons
KeyCode [] PlatformerPro.StandardInputData.actionButtons |
The action buttons with the first value in the array being the default.
◆ altHorizontalAxisName
string PlatformerPro.StandardInputData.altHorizontalAxisName = "Joystick1Axis7" |
The alternateHorizontal joystick axis.
◆ altVerticalAxisName
string PlatformerPro.StandardInputData.altVerticalAxisName = "Joystick1Axis8" |
The alternate vertical joystick axis.
◆ digitalAltHorizontalThreshold
float PlatformerPro.StandardInputData.digitalAltHorizontalThreshold = 0.25f |
Threshold for digital input to be considered non-zero.
◆ digitalAltVerticalThreshold
float PlatformerPro.StandardInputData.digitalAltVerticalThreshold = 0.25f |
Threshold for digital input to be considered non-zero.
◆ digitalHorizontalThreshold
float PlatformerPro.StandardInputData.digitalHorizontalThreshold = 0.25f |
Threshold for digital input to be considered non-zero.
◆ digitalVerticalThreshold
float PlatformerPro.StandardInputData.digitalVerticalThreshold = 0.25f |
Threshold for digital input to be considered non-zero.
◆ down
KeyCode PlatformerPro.StandardInputData.down = KeyCode.DownArrow |
◆ enableController
bool PlatformerPro.StandardInputData.enableController |
Should the controller input be enabled.
◆ enableKeyboard
bool PlatformerPro.StandardInputData.enableKeyboard |
Should the keyboard input be enabled.
◆ horizontalAxisName
string PlatformerPro.StandardInputData.horizontalAxisName = "Joystick1Axis1" |
The horizontal joystick axis.
◆ jump
KeyCode PlatformerPro.StandardInputData.jump = KeyCode.Z |
◆ left
KeyCode PlatformerPro.StandardInputData.left = KeyCode.LeftArrow |
◆ pause
KeyCode PlatformerPro.StandardInputData.pause = KeyCode.P |
◆ reverseAltHorizontalAxis
bool PlatformerPro.StandardInputData.reverseAltHorizontalAxis |
Should we reverse the values of the horizontal axis.
◆ reverseAltVerticalAxis
bool PlatformerPro.StandardInputData.reverseAltVerticalAxis |
Should we reverse the values of the vertival axis.
◆ reverseHorizontalAxis
bool PlatformerPro.StandardInputData.reverseHorizontalAxis |
Should we reverse the values of the horizontal axis.
◆ reverseVerticalAxis
bool PlatformerPro.StandardInputData.reverseVerticalAxis |
Should we reverse the values of the vertival axis.
◆ right
KeyCode PlatformerPro.StandardInputData.right = KeyCode.RightArrow |
◆ run
KeyCode PlatformerPro.StandardInputData.run = KeyCode.X |
◆ up
KeyCode PlatformerPro.StandardInputData.up = KeyCode.UpArrow |
◆ verticalAxisName
string PlatformerPro.StandardInputData.verticalAxisName = "Joystick1Axis2" |
The vertical joystick axis.
The documentation for this class was generated from the following file: