Property | Type | Description | |
---|---|---|---|
absoluteWASDButton | AbsoluteWASDButton, | ||
baseMoveSpeed | float | ||
clickFeedback | GameObject | ||
currentMoveSpeed | float | ||
gameObjectName | string | ||
hero | Hero, | ||
leftClickToMoveButton | LeftClickToMoveButton, | ||
moveEnergyCost | float | ||
relativeRotationSpeed | float | ||
relativeWASDButton | RelativeWASDButton, | ||
rightClickToMoveButton | RightClickToMoveButton, | ||
selectedKeyboardControlTypeSprite | UISprite, | ||
selectedMouseControlTypeSprite | UISprite, | ||
wallname | string |
Property | Type | Description | |
---|---|---|---|
AbsoluteWASDUpdate | void | ||
Awake | void | ||
OnCollisionStay | void | ||
RelativeWASDUpdate | void | ||
cancelMouseMove | void | ||
clickToMoveUpdate | void | ||
commonUpdate | void | ||
initializeIfNecessary | void | ||
rotationUpdate | void | ||
setClickFeedback | void | ||
setSpeed | void | ||
switchControlTypeTo | void | ||
switchControlTypeTo | void | ||
updateEnergy | void |
Method | Description | |
---|---|---|
Pause ( bool pause ) : void | ||
get ( ) : CellControl, | ||
isPaused ( ) : bool | ||
refreshControlType ( ) : void | ||
reset ( ) : void | ||
stopMovement ( ) : void | ||
switchControlTypeToAbsoluteWASD ( ) : void | ||
switchControlTypeToLeftClickToMove ( ) : void | ||
switchControlTypeToRelativeWASD ( ) : void | ||
switchControlTypeToRightClickToMove ( ) : void | ||
teleport ( Vector3 position ) : void | ||
teleport ( Vector3 position, Quaternion rotation ) : void |
Method | Description | |
---|---|---|
AbsoluteWASDUpdate ( ) : void | ||
Awake ( ) : void | ||
OnCollisionStay ( Collision col ) : void | ||
RelativeWASDUpdate ( ) : void | ||
cancelMouseMove ( ) : void | ||
clickToMoveUpdate ( KeyCode, mouseButtonCode ) : void | ||
commonUpdate ( ) : void | ||
initializeIfNecessary ( ) : void | ||
rotationUpdate ( ) : void | ||
setClickFeedback ( Vector3 position ) : void | ||
setSpeed ( ) : void | ||
switchControlTypeTo ( ControlType newControlType ) : void | ||
switchControlTypeTo ( ControlType newControlType, Vector3 position ) : void | ||
updateEnergy ( Vector3 moveAmount ) : void |
public switchControlTypeToAbsoluteWASD ( ) : void | ||
return | void |
public switchControlTypeToLeftClickToMove ( ) : void | ||
return | void |
public switchControlTypeToRelativeWASD ( ) : void | ||
return | void |
public switchControlTypeToRightClickToMove ( ) : void | ||
return | void |
public teleport ( Vector3 position, Quaternion rotation ) : void | ||
position | Vector3 | |
rotation | Quaternion | |
return | void |
public AbsoluteWASDButton, absoluteWASDButton | ||
return | AbsoluteWASDButton, |
public LeftClickToMoveButton, leftClickToMoveButton | ||
return | LeftClickToMoveButton, |
public RelativeWASDButton, relativeWASDButton | ||
return | RelativeWASDButton, |
public RightClickToMoveButton, rightClickToMoveButton | ||
return | RightClickToMoveButton, |
public UISprite, selectedKeyboardControlTypeSprite | ||
return | UISprite, |
public UISprite, selectedMouseControlTypeSprite | ||
return | UISprite, |