Свойство | Тип | Описание | |
---|---|---|---|
accelerationFactor | float | ||
character | |||
grabDistance | float | ||
maxVelocity | float | ||
maxXSpeed | float | ||
maxYSpeed | float | ||
moveableLayers | LayerMask | ||
pCamera | Transform | ||
shiftDebounce | float | ||
totalLerpTime | float |
Метод | Описание | |
---|---|---|
attachToSurface ( |
||
detachFromSurface ( ) : void | ||
moveCharacter ( Vector2 inputVector ) : void |
Метод | Описание | |
---|---|---|
GetInput ( ) : Vector2 | ||
calcupateDesiredSpeed ( Vector2 inputVector ) : float | ||
lerp ( ) : void | ||
roundCorner ( Vector2 inputVector, float desiredSpeed ) : void | ||
zeroMovement ( Vector2 inputVector ) : void |
public attachToSurface ( |
||
hit | ||
Результат | void |
public moveCharacter ( Vector2 inputVector ) : void | ||
inputVector | Vector2 | |
Результат | void |