C# Class CrushMovement, Alternalien9-21-2015

Inheritance: MonoBehaviour
Datei anzeigen Open project: DragoonGames/Alternalien9-21-2015

Public Properties

Property Type Description
anim Animator
jumpSpeed float
keycardPickup UnityEngine.AudioClip
maxSpeed float
nextJump float
nextPunch float

Public Methods

Method Description
CheckDirection ( float moveSpeed ) : void
OnCollisionEnter2D ( Collision2D c ) : void
OnCollisionStay2D ( Collision2D c ) : void
SetActive ( ) : void
SetInactive ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
Jump ( ) : IEnumerator
Punch ( ) : IEnumerator

Method Details

CheckDirection() public method

public CheckDirection ( float moveSpeed ) : void
moveSpeed float
return void

OnCollisionEnter2D() public method

public OnCollisionEnter2D ( Collision2D c ) : void
c Collision2D
return void

OnCollisionStay2D() public method

public OnCollisionStay2D ( Collision2D c ) : void
c Collision2D
return void

SetActive() public method

public SetActive ( ) : void
return void

SetInactive() public method

public SetInactive ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

anim public_oe property

public Animator anim
return Animator

jumpSpeed public_oe property

public float jumpSpeed
return float

keycardPickup public_oe property

public AudioClip,UnityEngine keycardPickup
return UnityEngine.AudioClip

maxSpeed public_oe property

public float maxSpeed
return float

nextJump public_oe property

public float nextJump
return float

nextPunch public_oe property

public float nextPunch
return float