2D Platform Controller  v1.7.0
Autogenerated code documentation for the 2D Platform Controller.
 All Classes Functions Variables Properties
RaycastCharacterInput Class Reference

Abstract class for character input, extend this to provide your own input. More...

Inherits MonoBehaviour.

Inherited by EnemyAIController, EnemyBounceAndFallInput, SimpleCharacterInput, StandardMobileInput, and TouchController.

Public Member Functions

virtual void CancelJump ()
 Stop jump from happening, useful for platforms that don't let you jump (or special jump behaviour). More...
 

Properties

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...
 

Detailed Description

Abstract class for character input, extend this to provide your own input.

Member Function Documentation

virtual void RaycastCharacterInput.CancelJump ( )
virtual

Stop jump from happening, useful for platforms that don't let you jump (or special jump behaviour).

Property Documentation

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: