public void ResearchClick() { mainButtonPanel.Hide(); researchButtonPanel.Show(); scanButton.Text = "Seismic Scan"; state.oilScan = false; state.planet.CancelPlace(); }
public void ScanButtonClick() { if (state.oilScan) { scanButton.Text = "Seismic Scan"; state.oilScan = false; } else { state.oilScan = true; GameState.Instance.planet.PlaceMode("OilProducer"); researchButtonPanel.Hide(); buildButtonPanel.Hide(); mainButtonPanel.Show(); scanButton.Text = "End Scan"; Notification.Instance.SetNotification("Right Click To Scan\nLeft Click To Place Oil Well"); } }