프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public canFire ( int cost, bool continuousFire ) : bool | ||
cost | int | |
continuousFire | bool | |
리턴 | bool |