Свойство | Type | Description | |
---|---|---|---|
DeathParticule | GameObject | ||
DeathSound | |||
DeathVolume | float | ||
FireDistance | float | ||
FireRate | float | ||
Force | float | ||
HealthPoints | int | ||
ItemDropRate | float | ||
Items | GameObject[] | ||
MovementSpeed | float | ||
PlayerStunTime | float | ||
PowerUpDropRate | float | ||
PowerUps | GameObject[] | ||
Projectile | GameObject | ||
ProjectileUponDeath | int | ||
ReverseTimerMax | float | ||
ReverseTimerMin | float |
Méthode | Description | |
---|---|---|
DropItem ( ) : void | ||
Explode ( ) : void | ||
FixedUpdate ( ) : void | ||
Flip ( ) : void | ||
HandleDeath ( ) : void | ||
HandleFire ( ) : void | ||
HandleMovement ( ) : void | ||
HandleReverseTimer ( ) : void | ||
OnCollisionEnter2D ( Collision2D coll ) : void | ||
SetRandomTimer ( ) : void | ||
Start ( ) : void | ||
TakeDamage ( int amount ) : void | ||
Update ( ) : void |
public OnCollisionEnter2D ( Collision2D coll ) : void | ||
coll | Collision2D | |
Résultat | void |
public AudioClip,UnityEngine DeathSound | ||
Résultat |