C# Class Bouncer

Inheritance: MonoBehaviour
Show file Open project: macgyver13/globalgamejam2016 Class Usage Examples

Public Properties

Property Type Description
bounceAnimator Animator
bounced bool
force float
trajectoryObjectEast Transform
trajectoryObjectNorth Transform
trajectoryObjectSouth Transform
trajectoryObjectWest Transform

Public Methods

Method Description
ApplyBounce ( GameObject otherObject, Collision2D coll ) : void

Method Details

ApplyBounce() public method

public ApplyBounce ( GameObject otherObject, Collision2D coll ) : void
otherObject GameObject
coll Collision2D
return void

Property Details

bounceAnimator public property

public Animator bounceAnimator
return Animator

bounced public property

public bool bounced
return bool

force public property

public float force
return float

trajectoryObjectEast public property

public Transform trajectoryObjectEast
return Transform

trajectoryObjectNorth public property

public Transform trajectoryObjectNorth
return Transform

trajectoryObjectSouth public property

public Transform trajectoryObjectSouth
return Transform

trajectoryObjectWest public property

public Transform trajectoryObjectWest
return Transform