C# 클래스 EnemyDamageControl, scriptcaster

상속: MonoBehaviour
파일 보기 프로젝트 열기: crazymeeshu/scriptcaster

공개 프로퍼티들

프로퍼티 타입 설명
HealthBar GameObject
health float
healthChance int
healthDrop GameObject
typeID int

공개 메소드들

메소드 설명
OnCollisionEnter2D ( Collision2D c ) : void
Start ( ) : void
Update ( ) : void
setHealthBar ( float newHealth ) : void

비공개 메소드들

메소드 설명
WaitForDeathAnimations ( ) : IEnumerator

메소드 상세

OnCollisionEnter2D() 공개 메소드

public OnCollisionEnter2D ( Collision2D c ) : void
c Collision2D
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

setHealthBar() 공개 메소드

public setHealthBar ( float newHealth ) : void
newHealth float
리턴 void

프로퍼티 상세

HealthBar 공개적으로 프로퍼티

public GameObject HealthBar
리턴 GameObject

health 공개적으로 프로퍼티

public float health
리턴 float

healthChance 공개적으로 프로퍼티

public int healthChance
리턴 int

healthDrop 공개적으로 프로퍼티

public GameObject healthDrop
리턴 GameObject

typeID 공개적으로 프로퍼티

public int typeID
리턴 int