예제 #1
0
 public void ResearchClick()
 {
     mainButtonPanel.Hide();
     researchButtonPanel.Show();
     scanButton.Text = "Seismic Scan";
     state.oilScan   = false;
     state.planet.CancelPlace();
 }
예제 #2
0
 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");
     }
 }