C# 클래스 Assets.Scripts.Player.PlayerHealth

상속: UnityEngine.MonoBehaviour, IDamageBehavior
파일 보기 프로젝트 열기: EricFreeman/DungeonGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Hand UnityEngine.GameObject
HealthImage UnityEngine.UI.Image
HealthTextBox UnityEngine.UI.Text

공개 메소드들

메소드 설명
OnDeath ( HitContext hitContext ) : void
OnHit ( HitContext hitContext ) : void
Start ( ) : void
TakeDamage ( int damage ) : void
Update ( ) : void

메소드 상세

OnDeath() 공개 메소드

public OnDeath ( HitContext hitContext ) : void
hitContext Assets.Scripts.People.HitContext
리턴 void

OnHit() 공개 메소드

public OnHit ( HitContext hitContext ) : void
hitContext Assets.Scripts.People.HitContext
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

TakeDamage() 공개 메소드

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

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

Hand 공개적으로 프로퍼티

public GameObject,UnityEngine Hand
리턴 UnityEngine.GameObject

HealthImage 공개적으로 프로퍼티

public Image,UnityEngine.UI HealthImage
리턴 UnityEngine.UI.Image

HealthTextBox 공개적으로 프로퍼티

public Text,UnityEngine.UI HealthTextBox
리턴 UnityEngine.UI.Text