C# 클래스 ReceiveDamage, SpaceCOG-Prototype

상속: MonoBehaviour
파일 보기 프로젝트 열기: kalby/SpaceCOG-Prototype 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
currentHealth int
maximumHealth int

공개 메소드들

메소드 설명
CheckForKill ( GameObject killingPlayer ) : void
Death ( ) : void
Hit ( int damage ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

CheckForKill() 공개 메소드

public CheckForKill ( GameObject killingPlayer ) : void
killingPlayer GameObject
리턴 void

Death() 공개 메소드

public Death ( ) : void
리턴 void

Hit() 공개 메소드

public Hit ( int damage ) : void
damage int
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

currentHealth 공개적으로 프로퍼티

public int currentHealth
리턴 int

maximumHealth 공개적으로 프로퍼티

public int maximumHealth
리턴 int