Property | Type | Description | |
---|---|---|---|
cooldownTime | float | ||
currentEnergy | float | ||
currentHealth | int | ||
energyBarSlider | Slider, | ||
energyText | Text, | ||
explosion | GameObject | ||
healthBarSlider | Slider, | ||
healthText | Text, | ||
invert | int | ||
isFiring | bool | ||
isPlayerInvincible | bool | ||
maxEnergy | float | ||
maxHealth | int | ||
maxX | float | ||
maxZ | float | ||
movementSpeed | float | ||
score | int |
Method | Description | |
---|---|---|
OnCollisionEnter ( Collision theCollision ) : void | ||
OnTriggerEnter ( Collider other ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
canFire ( int cost, bool continuousFire ) : bool | ||
doDamage ( int amount ) : void |
public OnCollisionEnter ( Collision theCollision ) : void | ||
theCollision | Collision | |
return | void |
public OnTriggerEnter ( Collider other ) : void | ||
other | Collider | |
return | void |
public canFire ( int cost, bool continuousFire ) : bool | ||
cost | int | |
continuousFire | bool | |
return | bool |