C# Class Prime31.CharacterController2D.CharacterCollisionState2D

Show file Open project: prime31/CharacterController2D

Public Properties

Property Type Description
above bool
becameGroundedThisFrame bool
below bool
left bool
movingDownSlope bool
right bool
slopeAngle float
wasGroundedLastFrame bool

Public Methods

Method Description
ToString ( ) : string
hasCollision ( ) : bool
reset ( ) : void

Method Details

ToString() public method

public ToString ( ) : string
return string

hasCollision() public method

public hasCollision ( ) : bool
return bool

reset() public method

public reset ( ) : void
return void

Property Details

above public property

public bool above
return bool

becameGroundedThisFrame public property

public bool becameGroundedThisFrame
return bool

below public property

public bool below
return bool

left public property

public bool left
return bool

movingDownSlope public property

public bool movingDownSlope
return bool

right public property

public bool right
return bool

slopeAngle public property

public float slopeAngle
return float

wasGroundedLastFrame public property

public bool wasGroundedLastFrame
return bool