ORK Framework  2.27.1
API Documentation
ORKFramework.ButtonPlayerControlSettings Class Reference
Inheritance diagram for ORKFramework.ButtonPlayerControlSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void AddPlayerControl (GameObject player)
void RemovePlayerControl (GameObject player)
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

float rotateSpeed = 500.0f
bool firstPerson = false
bool useCamDirection = true
float camDirectionOffset = 0
int verticalAxis = 2
int horizontalAxis = 1
bool useJump = false
int jumpKey = 0
float jumpDuration = 0.5f
float jumpDelay = 0
float jumpSpeed = -Physics.gravity.y
EaseType jumpInterpolation = EaseType.EaseOutQuad
float inAirModifier = 0.5f
float jumpMaxGroundAngle = 45
bool useSprint = false
int sprintKey = 0
float sprintFactor = 2.0f
bool useEnergy = false
FloatValue maxEnergy
FloatValue energyConsume
FloatValue energyRegeneration