Esempio n. 1
0
 public void PlaySurvivorTakeDamage(SaveData.HeroData.HeroType type)
 {
     if ((type == SaveData.HeroData.HeroType.MEDIC) || (type == SaveData.HeroData.HeroType.COOK))
     {
         this.PlaySound(this.survivorsTakeDamage.femaleSounds[UnityEngine.Random.Range(0, this.survivorsTakeDamage.femaleSounds.Length)], -1f);
     }
     else
     {
         this.PlaySound(this.survivorsTakeDamage.maleSounds[UnityEngine.Random.Range(0, this.survivorsTakeDamage.maleSounds.Length)], -1f);
     }
 }
Esempio n. 2
0
 public void AddPickedUpCount(SaveData.HeroData.HeroType type)
 {
     this.pickedSurvivors[(int)type]++;
 }
Esempio n. 3
0
 public float GetHeroDamage(SaveData.HeroData.HeroType heroType)
 {