Esempio n. 1
0
 public override void HandleInfectionPercentChanged(ImInfectionComponent infectionComponent)
 {
     base.HandleInfectionPercentChanged(infectionComponent);
     RadialWipeSpriteComponents()[0].sprite.percentage = infectionComponent.infectionPercent;
     if (infectionComponent.infectionPercent == 1) {
         ImOrgan organ = CorrespondingOrganInOrganLayer(WTImmunity.instance.organLayer);
         if (organ != null) organ.SpriteComponents()[0].sprite.color = Color.red;
     }
 }
Esempio n. 2
0
 override public void HandleInfectionPercentChanged(ImInfectionComponent infectionComponent)
 {
     base.HandleInfectionPercentChanged(infectionComponent);
     RadialWipeSpriteComponents()[0].sprite.percentage = infectionComponent.infectionPercent;
     if (infectionComponent.infectionPercent == 1)
     {
         ImOrgan organ = CorrespondingOrganInOrganLayer(WTImmunity.instance.organLayer);
         if (organ != null)
         {
             organ.SpriteComponents()[0].sprite.color = Color.red;
         }
     }
 }
Esempio n. 3
0
 public virtual void HandleInfectionPercentChanged(ImInfectionComponent infectionComponent)
 {
 }
Esempio n. 4
0
 virtual public void HandleInfectionPercentChanged(ImInfectionComponent infectionComponent)
 {
 }