Property | Type | Description | |
---|---|---|---|
accelerationFactor | float | ||
character | |||
grabDistance | float | ||
maxVelocity | float | ||
maxXSpeed | float | ||
maxYSpeed | float | ||
moveableLayers | LayerMask | ||
pCamera | Transform | ||
shiftDebounce | float | ||
totalLerpTime | float |
Method | Description | |
---|---|---|
attachToSurface ( |
||
detachFromSurface ( ) : void | ||
moveCharacter ( Vector2 inputVector ) : void |
Method | Description | |
---|---|---|
GetInput ( ) : Vector2 | ||
calcupateDesiredSpeed ( Vector2 inputVector ) : float | ||
lerp ( ) : void | ||
roundCorner ( Vector2 inputVector, float desiredSpeed ) : void | ||
zeroMovement ( Vector2 inputVector ) : void |
public attachToSurface ( |
||
hit | ||
return | void |
public moveCharacter ( Vector2 inputVector ) : void | ||
inputVector | Vector2 | |
return | void |