Property | Type | Description | |
---|---|---|---|
anim | Animator | ||
jumpSpeed | float | ||
keycardPickup | |||
maxSpeed | float | ||
nextJump | float | ||
nextPunch | float |
Method | Description | |
---|---|---|
CheckDirection ( float moveSpeed ) : void | ||
OnCollisionEnter2D ( Collision2D c ) : void | ||
OnCollisionStay2D ( Collision2D c ) : void | ||
SetActive ( ) : void | ||
SetInactive ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
Jump ( ) : IEnumerator | ||
Punch ( ) : IEnumerator |
public CheckDirection ( float moveSpeed ) : void | ||
moveSpeed | float | |
return | void |
public OnCollisionEnter2D ( Collision2D c ) : void | ||
c | Collision2D | |
return | void |
public OnCollisionStay2D ( Collision2D c ) : void | ||
c | Collision2D | |
return | void |
public AudioClip,UnityEngine keycardPickup | ||
return |