C# Class PlayerControlSettings, RPGQuest

Datei anzeigen 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_oe static_oe property

public static string CURSOROBJECT
return string

HORIZONTALAXIS public_oe static_oe property

public static string HORIZONTALAXIS
return string

JUMPKEY public_oe static_oe property

public static string JUMPKEY
return string

SPRINTKEY public_oe static_oe property

public static string SPRINTKEY
return string

VERTICALAXIS public_oe static_oe property

public static string VERTICALAXIS
return string

autoRemoveCursor public_oe property

public bool autoRemoveCursor
return bool

autoStopMove public_oe property

public bool autoStopMove
return bool

cursorObject public_oe property

public GameObject cursorObject
return GameObject

cursorObjectName public_oe property

public string cursorObjectName
return string

cursorOffset public_oe property

public Vector3 cursorOffset
return Vector3

ecFormula public_oe property

public int ecFormula
return int

energyCFormula public_oe property

public bool energyCFormula
return bool

energyConsume public_oe property

public float energyConsume
return float

energyRFormula public_oe property

public bool energyRFormula
return bool

energyRegeneration public_oe property

public float energyRegeneration
return float

erFormula public_oe property

public int erFormula
return int

firstPerson public_oe property

public bool firstPerson
return bool

gravity public_oe property

public float gravity
return float

horizontalAxis public_oe property

public string horizontalAxis
return string

ignoreYDistance public_oe property

public bool ignoreYDistance
return bool

inAirModifier public_oe property

public float inAirModifier
return float

jumpDuration public_oe property

public float jumpDuration
return float

jumpInterpolation public_oe property

public EaseType jumpInterpolation
return EaseType

jumpKey public_oe property

public string jumpKey
return string

jumpMaxGroundAngle public_oe property

public float jumpMaxGroundAngle
return float

jumpSpeed public_oe property

public float jumpSpeed
return float

layerMask public_oe property

public int layerMask
return int

maxEFormula public_oe property

public bool maxEFormula
return bool

maxEnergy public_oe property

public float maxEnergy
return float

meFormula public_oe property

public int meFormula
return int

minimumMoveDistance public_oe property

public float minimumMoveDistance
return float

mouseTouch public_oe property

public MouseTouchControl, mouseTouch
return MouseTouchControl,

moveDead public_oe property

public bool moveDead
return bool

raycastDistance public_oe property

public float raycastDistance
return float

rotateSpeed public_oe property

public float rotateSpeed
return float

runSpeed public_oe property

public float runSpeed
return float

speedSmoothing public_oe property

public float speedSmoothing
return float

sprintFactor public_oe property

public float sprintFactor
return float

sprintKey public_oe property

public string sprintKey
return string

type public_oe property

public PlayerControlType type
return PlayerControlType

useCamDirection public_oe property

public bool useCamDirection
return bool

useCharacterSpeed public_oe property

public bool useCharacterSpeed
return bool

useEnergy public_oe property

public bool useEnergy
return bool

useEventMover public_oe property

public bool useEventMover
return bool

useJump public_oe property

public bool useJump
return bool

useSprint public_oe property

public bool useSprint
return bool

verticalAxis public_oe property

public string verticalAxis
return string