프로퍼티 | 타입 | 설명 | |
---|---|---|---|
HealthBar | GameObject | ||
health | float | ||
healthChance | int | ||
healthDrop | GameObject | ||
typeID | int |
메소드 | 설명 | |
---|---|---|
OnCollisionEnter2D ( Collision2D c ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
setHealthBar ( float newHealth ) : void |
메소드 | 설명 | |
---|---|---|
WaitForDeathAnimations ( ) : IEnumerator |
public OnCollisionEnter2D ( Collision2D c ) : void | ||
c | Collision2D | |
리턴 | void |