C# Class PlayerControlSettings, RPGQuest

Show file Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
CURSOROBJECT string
HORIZONTALAXIS string
JUMPKEY string
SPRINTKEY string
VERTICALAXIS string
autoRemoveCursor bool
autoStopMove bool
cursorObject GameObject
cursorObjectName string
cursorOffset Vector3
ecFormula int
energyCFormula bool
energyConsume float
energyRFormula bool
energyRegeneration float
erFormula int
firstPerson bool
gravity float
horizontalAxis string
ignoreYDistance bool
inAirModifier float
jumpDuration float
jumpInterpolation EaseType
jumpKey string
jumpMaxGroundAngle float
jumpSpeed float
layerMask int
maxEFormula bool
maxEnergy float
meFormula int
minimumMoveDistance float
mouseTouch MouseTouchControl,
moveDead bool
raycastDistance float
rotateSpeed float
runSpeed float
speedSmoothing float
sprintFactor float
sprintKey string
type PlayerControlType
useCamDirection bool
useCharacterSpeed bool
useEnergy bool
useEventMover bool
useJump bool
useSprint bool
verticalAxis string

Public Methods

Method Description
AddPlayerControl ( GameObject player ) : void
GetData ( Hashtable ht ) : Hashtable
IsDefaultControl ( ) : bool
IsMobileControl ( ) : bool
PlayerControlSettings ( ) : System.Collections
RemovePlayerControl ( GameObject player ) : void
SetData ( Hashtable ht ) : void

Method Details

AddPlayerControl() public method

public AddPlayerControl ( GameObject player ) : void
player GameObject
return void

GetData() public method

public GetData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable

IsDefaultControl() public method

public IsDefaultControl ( ) : bool
return bool

IsMobileControl() public method

public IsMobileControl ( ) : bool
return bool

PlayerControlSettings() public method

public PlayerControlSettings ( ) : System.Collections
return System.Collections

RemovePlayerControl() public method

public RemovePlayerControl ( GameObject player ) : void
player GameObject
return void

SetData() public method

public SetData ( Hashtable ht ) : void
ht Hashtable
return void

Property Details

CURSOROBJECT public static property

public static string CURSOROBJECT
return string

HORIZONTALAXIS public static property

public static string HORIZONTALAXIS
return string

JUMPKEY public static property

public static string JUMPKEY
return string

SPRINTKEY public static property

public static string SPRINTKEY
return string

VERTICALAXIS public static property

public static string VERTICALAXIS
return string

autoRemoveCursor public property

public bool autoRemoveCursor
return bool

autoStopMove public property

public bool autoStopMove
return bool

cursorObject public property

public GameObject cursorObject
return GameObject

cursorObjectName public property

public string cursorObjectName
return string

cursorOffset public property

public Vector3 cursorOffset
return Vector3

ecFormula public property

public int ecFormula
return int

energyCFormula public property

public bool energyCFormula
return bool

energyConsume public property

public float energyConsume
return float

energyRFormula public property

public bool energyRFormula
return bool

energyRegeneration public property

public float energyRegeneration
return float

erFormula public property

public int erFormula
return int

firstPerson public property

public bool firstPerson
return bool

gravity public property

public float gravity
return float

horizontalAxis public property

public string horizontalAxis
return string

ignoreYDistance public property

public bool ignoreYDistance
return bool

inAirModifier public property

public float inAirModifier
return float

jumpDuration public property

public float jumpDuration
return float

jumpInterpolation public property

public EaseType jumpInterpolation
return EaseType

jumpKey public property

public string jumpKey
return string

jumpMaxGroundAngle public property

public float jumpMaxGroundAngle
return float

jumpSpeed public property

public float jumpSpeed
return float

layerMask public property

public int layerMask
return int

maxEFormula public property

public bool maxEFormula
return bool

maxEnergy public property

public float maxEnergy
return float

meFormula public property

public int meFormula
return int

minimumMoveDistance public property

public float minimumMoveDistance
return float

mouseTouch public property

public MouseTouchControl, mouseTouch
return MouseTouchControl,

moveDead public property

public bool moveDead
return bool

raycastDistance public property

public float raycastDistance
return float

rotateSpeed public property

public float rotateSpeed
return float

runSpeed public property

public float runSpeed
return float

speedSmoothing public property

public float speedSmoothing
return float

sprintFactor public property

public float sprintFactor
return float

sprintKey public property

public string sprintKey
return string

type public property

public PlayerControlType type
return PlayerControlType

useCamDirection public property

public bool useCamDirection
return bool

useCharacterSpeed public property

public bool useCharacterSpeed
return bool

useEnergy public property

public bool useEnergy
return bool

useEventMover public property

public bool useEventMover
return bool

useJump public property

public bool useJump
return bool

useSprint public property

public bool useSprint
return bool

verticalAxis public property

public string verticalAxis
return string