Свойство | Тип | Описание | |
---|---|---|---|
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 |
Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
public switchControlTypeToLeftClickToMove ( ) : void | ||
Результат | void |
public switchControlTypeToRelativeWASD ( ) : void | ||
Результат | void |
public switchControlTypeToRightClickToMove ( ) : void | ||
Результат | void |
public teleport ( Vector3 position ) : void | ||
position | Vector3 | |
Результат | void |
public teleport ( Vector3 position, Quaternion rotation ) : void | ||
position | Vector3 | |
rotation | Quaternion | |
Результат | void |
public AbsoluteWASDButton, absoluteWASDButton | ||
Результат | AbsoluteWASDButton, |
public LeftClickToMoveButton, leftClickToMoveButton | ||
Результат | LeftClickToMoveButton, |
public RelativeWASDButton, relativeWASDButton | ||
Результат | RelativeWASDButton, |
public RightClickToMoveButton, rightClickToMoveButton | ||
Результат | RightClickToMoveButton, |
public UISprite, selectedKeyboardControlTypeSprite | ||
Результат | UISprite, |
public UISprite, selectedMouseControlTypeSprite | ||
Результат | UISprite, |