public void ThreeDeeButtonPressed() { MapData currentMap = MapLoaderController.mapLoaderInScene.currentMap; if (currentMap.IsLoading3D) { currentMap.CancelLoading3D(); } else { currentMap.LoadMap3D(true, false); } /*else if (!currentMap.IsMapAvailable()) * { * if (SteamController.steamInScene.IsLoggedIn) * //currentMap.Download3DMapPrompt(); * TaskMaker.DownloadMap3D(currentMap, SettingsController.autoResourcePerMap, SettingsController.autoResourcePerMap, true); * else * SteamController.ShowErrorPopup("Download Error", "You must be logged in to download a map"); * } * else if (currentMap.IsBuilt) * { * MapLoaderController.mapLoaderInScene.View3DMap(currentMap, UserViewController.ViewMode.freeLook); * } * else * { * //TaskMaker.DownloadMap3D(currentMap, true, true, true); * TaskMaker.LoadMap(currentMap, true, false); * }*/ }