Свойство | Type | Description | |
---|---|---|---|
fireballRigid | |||
fireballSound | |||
iceballRigid | |||
iceballSound | |||
jumpSpeed | float | ||
keycardPickup | |||
leftFireSprite | Sprite | ||
leftIceSprite | Sprite | ||
maxSpeed | float | ||
nextJump | float | ||
shotPower | float | ||
switchToFireSound | |||
switchToIceSound |
Méthode | Description | |
---|---|---|
CheckDirection ( ) : void | ||
CheckTemperature ( ) : void | ||
LaunchFireIceBall ( ) : void | ||
OnCollisionEnter2D ( Collision2D c ) : void | ||
OnTriggerEnter2D ( |
||
SetActive ( ) : void | ||
SetInactive ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
Jump ( ) : IEnumerator | ||
StopJumping ( ) : IEnumerator |
public OnCollisionEnter2D ( Collision2D c ) : void | ||
c | Collision2D | |
Résultat | void |
public OnTriggerEnter2D ( |
||
other | ||
Résultat | void |
public Rigidbody2D,UnityEngine fireballRigid | ||
Résultat |
public AudioClip,UnityEngine fireballSound | ||
Résultat |
public Rigidbody2D,UnityEngine iceballRigid | ||
Résultat |
public AudioClip,UnityEngine iceballSound | ||
Résultat |
public AudioClip,UnityEngine keycardPickup | ||
Résultat |
public AudioClip,UnityEngine switchToFireSound | ||
Résultat |