C# 클래스 ShellShock.Player

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: GREEDYHD/ShellShock

공개 프로퍼티들

프로퍼티 타입 설명
HPSlider Slider
ammoSlider Slider
isPlayerDead bool
killingBulletID int
mEquippedWeapon Weapon
mPlayerNumber int
minigunParticleSystem UnityEngine.ParticleSystem
playerHUD UnityEngine.GameObject
playerPistol Pistol
playerScore int
playerScoreText UnityEngine.UI.Text
playerSpawnPoints UnityEngine.GameObject[]
timeSpentDead float
timeToRespawn float
waitTime float
weaponList ShellShock.Weapon[]

공개 메소드들

메소드 설명
Awake ( ) : void
ChangeWeapon ( int weaponNumber ) : void
DisableAndHidePlayer ( ) : void
EnableAndShowPlayer ( ) : void
IncreaseKillersScore ( ) : void
OnCollisionEnter2D ( Collision2D coll ) : void
ResetPlayerProperties ( ) : void
SetPlayerSpawnPosition ( ) : void
Start ( ) : void
StartRespawnTimer ( ) : void
Update ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

ChangeWeapon() 공개 메소드

public ChangeWeapon ( int weaponNumber ) : void
weaponNumber int
리턴 void

DisableAndHidePlayer() 공개 메소드

public DisableAndHidePlayer ( ) : void
리턴 void

EnableAndShowPlayer() 공개 메소드

public EnableAndShowPlayer ( ) : void
리턴 void

IncreaseKillersScore() 공개 메소드

public IncreaseKillersScore ( ) : void
리턴 void

OnCollisionEnter2D() 공개 메소드

public OnCollisionEnter2D ( Collision2D coll ) : void
coll UnityEngine.Collision2D
리턴 void

ResetPlayerProperties() 공개 메소드

public ResetPlayerProperties ( ) : void
리턴 void

SetPlayerSpawnPosition() 공개 메소드

public SetPlayerSpawnPosition ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StartRespawnTimer() 공개 메소드

public StartRespawnTimer ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

HPSlider 공개적으로 프로퍼티

public Slider HPSlider
리턴 Slider

ammoSlider 공개적으로 프로퍼티

public Slider ammoSlider
리턴 Slider

isPlayerDead 공개적으로 프로퍼티

public bool isPlayerDead
리턴 bool

killingBulletID 공개적으로 프로퍼티

public int killingBulletID
리턴 int

mEquippedWeapon 공개적으로 프로퍼티

public Weapon,ShellShock mEquippedWeapon
리턴 Weapon

mPlayerNumber 공개적으로 프로퍼티

public int mPlayerNumber
리턴 int

minigunParticleSystem 공개적으로 프로퍼티

public ParticleSystem,UnityEngine minigunParticleSystem
리턴 UnityEngine.ParticleSystem

playerHUD 공개적으로 프로퍼티

public GameObject,UnityEngine playerHUD
리턴 UnityEngine.GameObject

playerPistol 공개적으로 프로퍼티

public Pistol,ShellShock playerPistol
리턴 Pistol

playerScore 공개적으로 프로퍼티

public int playerScore
리턴 int

playerScoreText 공개적으로 프로퍼티

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

playerSpawnPoints 공개적으로 프로퍼티

public GameObject[],UnityEngine playerSpawnPoints
리턴 UnityEngine.GameObject[]

timeSpentDead 공개적으로 프로퍼티

public float timeSpentDead
리턴 float

timeToRespawn 공개적으로 프로퍼티

public float timeToRespawn
리턴 float

waitTime 공개적으로 프로퍼티

public float waitTime
리턴 float

weaponList 공개적으로 프로퍼티

public Weapon[],ShellShock weaponList
리턴 ShellShock.Weapon[]