Example #1
0
 private void OnUnitsCountChanged(TransportUnitInfo info)
 {
     if (managerId == info.GeneratorId)
     {
         UpdateText(info.BrokenedCount);
     }
 }
Example #2
0
 private void OnUnitCountChanged(TransportUnitInfo unit)
 {
     if ((generator != null) && (generator.GeneratorId == unit.GeneratorId))
     {
         UpdateViews();
         UpdateAdButton();
     }
 }
Example #3
0
 private void UpdateAlert(TransportUnitInfo info)
 {
     if (info.GeneratorId == GeneratorId)
     {
         alert.ToggleActivity(() => {
             return(info.BrokenedCount > 0);
         });
     }
 }
Example #4
0
 private void OnUnitCountChanged(TransportUnitInfo unit)
 {
     if (manager != null)
     {
         if (unit.GeneratorId == manager.Id)
         {
             UpdateBrokenedAndIncomeTexts();
         }
     }
 }
Example #5
0
 private void OnUnitCountChanged(TransportUnitInfo unit)
 {
     if (generator != null)
     {
         if (generator.GeneratorId == unit.GeneratorId)
         {
             UpdateViews();
         }
     }
 }
Example #6
0
 private void OnUnitCountChanged(TransportUnitInfo unit)
 {
     if (generator != null && (generator.GeneratorId == unit.GeneratorId))
     {
         UpdateGeneratorLevelProgress();
         UpdateBuyGeneratorControls(generatorCountButton.GetBuyInfo());
         UpdateUnitCountText();
         UpdateProfitValues();
         UpdateProfitTexts();
         UpdateToolObject(unit.BrokenedCount);
     }
 }
Example #7
0
 private void OnUnitCountChanged(TransportUnitInfo unit)
 {
     UpdateAlert(unit);
 }