C# Class UnityPlatformer.JumpConstantSpringProperties

显示文件 Open project: llafuente/unity-platformer Class Usage Examples

Public Properties

Property Type Description
initialVelocity float
minPenetrationSpeed float
penetration float

Public Methods

Method Description
Clone ( int faceDir ) : JumpConstantSpringProperties

Clone

JumpConstantSpringProperties ( float ivel, float pen, float mpenvel ) : System

Constructor

Method Details

Clone() public method

Clone
public Clone ( int faceDir ) : JumpConstantSpringProperties
faceDir int
return JumpConstantSpringProperties

JumpConstantSpringProperties() public method

Constructor
public JumpConstantSpringProperties ( float ivel, float pen, float mpenvel ) : System
ivel float
pen float
mpenvel float
return System

Property Details

initialVelocity public_oe property

Initial velocity
public float initialVelocity
return float

minPenetrationSpeed public_oe property

Penetrate if speed is greater than
public float minPenetrationSpeed
return float

penetration public_oe property

Penetration in units
public float penetration
return float