Exemplo 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);
     }
 }
Exemplo n.º 2
0
 public void AddPickedUpCount(SaveData.HeroData.HeroType type)
 {
     this.pickedSurvivors[(int)type]++;
 }
Exemplo n.º 3
0
 public float GetHeroDamage(SaveData.HeroData.HeroType heroType)
 {