/// <summary> /// Get the TowerToSimulation for this specific Tower /// </summary> public static TowerToSimulation GetTowerSim(this Tower tower) { Il2CppSystem.Collections.Generic.List <TowerToSimulation> towerSims = InGame.instance?.bridge?.GetAllTowers(); return(towerSims.FirstOrDefault(sim => sim.tower == tower)); }