C# 클래스 HealthScript, WaitingForHorus

상속: MonoBehaviour
파일 보기 프로젝트 열기: merveilles/WaitingForHorus 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HealthSpheres Renderer[]
PlayerScript PlayerScript
_Health int
_Shield int
deathPrefab GameObject
invulnerabilityTime float
maxHealth int
maxShield int
shieldRegenTime float
shieldRenderer Renderer
timeUntilRespawn float

공개 메소드들

메소드 설명
Awake ( ) : void
DeclareHitToOthers ( int damage, Vector3 point, PlayerPresence instigator ) : void
OnDisable ( ) : void
OnEnable ( ) : void
PlayDeathPrefab ( ) : void
Update ( ) : void
UpdateShield ( ) : void

비공개 메소드들

메소드 설명
DoDamageOwner ( int damage, Vector3 point, PlayerPresence instigator ) : void
OthersReceiveHit ( int damage, Vector3 point, uLink instigatorPresenceViewID ) : void
RemotePlayDeathPrefab ( ) : void
ShotFired ( ) : void
UpdateHealthSphereVisibility ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

DeclareHitToOthers() 공개 메소드

public DeclareHitToOthers ( int damage, Vector3 point, PlayerPresence instigator ) : void
damage int
point Vector3
instigator PlayerPresence
리턴 void

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

PlayDeathPrefab() 공개 메소드

public PlayDeathPrefab ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateShield() 공개 메소드

public UpdateShield ( ) : void
리턴 void

프로퍼티 상세

HealthSpheres 공개적으로 프로퍼티

public Renderer[] HealthSpheres
리턴 Renderer[]

PlayerScript 공개적으로 프로퍼티

public PlayerScript PlayerScript
리턴 PlayerScript

_Health 공개적으로 프로퍼티

public int _Health
리턴 int

_Shield 공개적으로 프로퍼티

public int _Shield
리턴 int

deathPrefab 공개적으로 프로퍼티

public GameObject deathPrefab
리턴 GameObject

invulnerabilityTime 공개적으로 프로퍼티

public float invulnerabilityTime
리턴 float

maxHealth 공개적으로 프로퍼티

public int maxHealth
리턴 int

maxShield 공개적으로 프로퍼티

public int maxShield
리턴 int

shieldRegenTime 공개적으로 프로퍼티

public float shieldRegenTime
리턴 float

shieldRenderer 공개적으로 프로퍼티

public Renderer shieldRenderer
리턴 Renderer

timeUntilRespawn 공개적으로 프로퍼티

public float timeUntilRespawn
리턴 float