Пример #1
0
 public void UpgradeButton3()
 {
     if (Owner.GetType() == typeof(Traps))
     {
         Traps Temp = (Traps)Owner;
         Temp.SetCatcherRaduis(TrapTypesUpgrades.RequestUpgradeAmount(UpgradeType.CatchRaduis, Temp.Type));
     }
     else if (Owner.GetType() == typeof(TurretController))
     {
     }
 }