Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
void Shoot() { switch (player.current_gun) { case "pistol": player.DamagePlayer(1); StartCoroutine(FirePistol()); soundManager.PlayPistolFire(); break; case "shotgun": player.DamagePlayer(2); FireShotgun(); soundManager.PlayShotgunFire(); break; } }