Class PlayerMovement
Inheritance
object
PlayerMovement
Assembly: cs.temp.dll.dll
Syntax
public class PlayerMovement : MonoBehaviour
Fields
coyoteTime
Declaration
Field Value
ground
Declaration
Field Value
| Type |
Description |
| LayerMask |
|
groundCheckDistance
Declaration
public float groundCheckDistance
Field Value
jumpLenience
Declaration
public float jumpLenience
Field Value
jumpSpeed
Declaration
Field Value
maxSpeed
Declaration
Field Value
maxSpeedOverride
Declaration
public float maxSpeedOverride
Field Value
playerText
Declaration
public TextMeshProUGUI playerText
Field Value
| Type |
Description |
| TextMeshProUGUI |
|
secondsToFullSpeed
Declaration
public float secondsToFullSpeed
Field Value
slowdownMultiplier
Declaration
public float slowdownMultiplier
Field Value
timeUnableToBeDeclaredNotJumping
Declaration
public float timeUnableToBeDeclaredNotJumping
Field Value
turnaroundMultiplier
Declaration
public float turnaroundMultiplier
Field Value
virtualAxisX
Declaration
public float virtualAxisX
Field Value
Declaration
public float virtualButtonJump
Field Value
Declaration
public float virtualButtonJumpLastFrame
Field Value
walkSmooth
Declaration
Field Value
walkSpeed
Declaration
Field Value
walkSpeedFactor
Declaration
public float walkSpeedFactor
Field Value
Methods
GetPointInBoxCollider(BoxCollider2D, float, float)
Declaration
public Vector2 GetPointInBoxCollider(BoxCollider2D boxCollider2D, float horizontal, float vertical)
Parameters
| Type |
Name |
Description |
| BoxCollider2D |
boxCollider2D |
|
| float |
horizontal |
|
| float |
vertical |
|
Returns
IsBasicallyGrounded()
Declaration
public bool IsBasicallyGrounded()
Returns
IsPhysicallyGrounded()
Declaration
public bool IsPhysicallyGrounded()
Returns
StopVelocity()
Declaration
public void StopVelocity()