public void UpgradeButton2() { if (Owner.GetType() == typeof(Traps)) { Traps Temp = (Traps)Owner; Temp.SetSucessRate(TrapTypesUpgrades.RequestUpgradeAmount(UpgradeType.CatchSuccessChance, Temp.Type)); } else if (Owner.GetType() == typeof(TurretController)) { } }
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)) { } }
public void UpgradeButton1() { if (Owner.GetType() == typeof(Traps)) { Traps Temp = (Traps)Owner; Temp.SetAttractionTime(TrapTypesUpgrades.RequestUpgradeAmount(UpgradeType.CatchCoolDown, Temp.Type)); } else if (Owner.GetType() == typeof(TurretController)) { } }