Property | Type | Description | |
---|---|---|---|
fireballRigid | |||
fireballSound | |||
iceballRigid | |||
iceballSound | |||
jumpSpeed | float | ||
keycardPickup | |||
leftFireSprite | Sprite | ||
leftIceSprite | Sprite | ||
maxSpeed | float | ||
nextJump | float | ||
shotPower | float | ||
switchToFireSound | |||
switchToIceSound |
Method | Description | |
---|---|---|
CheckDirection ( ) : void | ||
CheckTemperature ( ) : void | ||
LaunchFireIceBall ( ) : void | ||
OnCollisionEnter2D ( Collision2D c ) : void | ||
OnTriggerEnter2D ( |
||
SetActive ( ) : void | ||
SetInactive ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
Jump ( ) : IEnumerator | ||
StopJumping ( ) : IEnumerator |
public OnCollisionEnter2D ( Collision2D c ) : void | ||
c | Collision2D | |
return | void |
public OnTriggerEnter2D ( |
||
other | ||
return | void |
public Rigidbody2D,UnityEngine fireballRigid | ||
return |
public AudioClip,UnityEngine fireballSound | ||
return |
public Rigidbody2D,UnityEngine iceballRigid | ||
return |
public AudioClip,UnityEngine iceballSound | ||
return |
public AudioClip,UnityEngine keycardPickup | ||
return |
public AudioClip,UnityEngine switchToFireSound | ||
return |