C# 클래스 Player, MultiplayerFPS-Tutorial

상속: MonoBehaviour
파일 보기 프로젝트 열기: Brackeys/MultiplayerFPS-Tutorial 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
deaths int
kills int

공개 메소드들

메소드 설명
GetHealthPct ( ) : float
SetDefaults ( ) : void
SetupPlayer ( ) : void

비공개 메소드들

메소드 설명
CmdBroadCastNewPlayerSetup ( ) : void
Die ( string _sourceID ) : void
Respawn ( ) : IEnumerator
RpcSetupPlayerOnAllClients ( ) : void
RpcTakeDamage ( int _amount, string _sourceID ) : void

메소드 상세

GetHealthPct() 공개 메소드

public GetHealthPct ( ) : float
리턴 float

SetDefaults() 공개 메소드

public SetDefaults ( ) : void
리턴 void

SetupPlayer() 공개 메소드

public SetupPlayer ( ) : void
리턴 void

프로퍼티 상세

deaths 공개적으로 프로퍼티

public int deaths
리턴 int

kills 공개적으로 프로퍼티

public int kills
리턴 int