Свойство | Тип | Описание | |
---|---|---|---|
HPSlider | Slider | ||
ammoSlider | Slider | ||
isPlayerDead | bool | ||
killingBulletID | int | ||
mEquippedWeapon | |||
mPlayerNumber | int | ||
minigunParticleSystem | |||
playerHUD | |||
playerPistol | |||
playerScore | int | ||
playerScoreText | |||
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 ( |
||
ResetPlayerProperties ( ) : void | ||
SetPlayerSpawnPosition ( ) : void | ||
Start ( ) : void | ||
StartRespawnTimer ( ) : void | ||
Update ( ) : void |
public ChangeWeapon ( int weaponNumber ) : void | ||
weaponNumber | int | |
Результат | void |
public OnCollisionEnter2D ( |
||
coll | ||
Результат | void |
public ParticleSystem,UnityEngine minigunParticleSystem | ||
Результат |
public GameObject,UnityEngine playerHUD | ||
Результат |
public Text,UnityEngine.UI playerScoreText | ||
Результат |
public GameObject[],UnityEngine playerSpawnPoints | ||
Результат | UnityEngine.GameObject[] |