Abstract class for character input, extend this to provide your own input.
More...
Inherits MonoBehaviour.
Inherited by EnemyAIController, EnemyBounceAndFallInput, SimpleCharacterInput, StandardMobileInput, and TouchController.
|
| virtual void | CancelJump () |
| | Stop jump from happening, useful for platforms that don't let you jump (or special jump behaviour). More...
|
| |
|
| virtual float | x [get, set] |
| | The x movement. Use 1.0f or -1.0f to run. Smaller values to walk. More...
|
| |
| virtual float | y [get, set] |
| | The y movement. 1.0f = up, -1.0f = down. More...
|
| |
| virtual bool | jumpButtonHeld [get, set] |
| | Is the jump button being held down. More...
|
| |
| virtual bool | jumpButtonDown [get, set] |
| | Was the jump button pressed this frame. More...
|
| |
Abstract class for character input, extend this to provide your own input.
| virtual void RaycastCharacterInput.CancelJump |
( |
) | |
|
|
virtual |
Stop jump from happening, useful for platforms that don't let you jump (or special jump behaviour).
| virtual bool RaycastCharacterInput.jumpButtonDown |
|
getset |
Was the jump button pressed this frame.
| virtual bool RaycastCharacterInput.jumpButtonHeld |
|
getset |
Is the jump button being held down.
| virtual float RaycastCharacterInput.x |
|
getset |
The x movement. Use 1.0f or -1.0f to run. Smaller values to walk.
| virtual float RaycastCharacterInput.y |
|
getset |
The y movement. 1.0f = up, -1.0f = down.
The documentation for this class was generated from the following file:
- /Users/john/Desktop/PC3.5Test/Assets/2DPlatformController/Scripts/Plugins/RaycastCharacterInput.cs