//void BuyIndustrialSectorButton() //{ // GUI.enabled = Earth.GlobalCurrency > 300; // GUILayout.BeginVertical(); // if (GUILayout.Button("Buy Industrial Center", ButtonStyle, GUILayout.Height(75))) // { // isPickingLocation = true; // placementLabelRect = GetTopLabelRect("Right Click to Place Industrial Sector"); // earth.BuildNewCity(); // } // GUILayout.Label("Cost: $300M", Header2Style); // GUILayout.Label("Generates Money Over Time \nStarting at $5 Million every 5 seconds \nIncreases by $5 Million up to $50 Million per 5 seconds\n Population is negatively impacted", BodyStyle); // GUILayout.EndVertical(); //} //void BuyGovernmentSectorButton() //{ // GUI.enabled = Earth.GlobalCurrency > 300; // GUILayout.BeginVertical(); // if (GUILayout.Button("Buy Industrial Center", ButtonStyle, GUILayout.Height(75))) // { // isPickingLocation = true; // placementLabelRect = GetTopLabelRect("Right Click to Place Government Sector"); // earth.BuildNewCity(); // } // GUILayout.Label("Cost: $100M", Header2Style); // GUILayout.Label("Regenerates Population Over Time \n \n Population is positively impacted", BodyStyle); // GUILayout.EndVertical(); //} void BuyShieldGeneratorButton() { GUI.enabled = Earth.GlobalCurrency > 800; GUILayout.BeginVertical(); if (GUILayout.Button("Buy Shield Generator", ButtonStyle, GUILayout.Height(75))) { isPickingLocation = true; placementLabelRect = GetTopLabelRect("Right Click to Place Shield Generator"); earth.BuildNewShieldGenerator(); Earth.SpendGlobalCurrency(800); } GUILayout.Label("Cost: $800M", Header2Style); GUILayout.Label("Shield Regenerates at all times and is stronger", BodyStyle); GUILayout.EndVertical(); }