示例#1
0
 private void PressCancelButton()
 {
     A.SetActive(false);
     B.SetActive(false);
     C.SetActive(false);
     sell_button.SetActive(false);
     upgrade_button.SetActive(false);
     selected_unit_image.enabled = false;
     selected_unit_name.enabled  = false;
     selected_unit_stat.enabled  = false;
     TowerControl.delete_SelectionList(TowerControl.selected, TowerControl.selected_circle);
     TurretRangeCircle.Delete_Range_Circle();
     if (Tooltip.tooltip)
     {
         Tooltip.Destroy_tooltip(Tooltip.tooltip);
     }
 }
 public void OnPointerUp(PointerEventData eventData)
 {
     Tooltip.Destroy_tooltip(Tooltip.tooltip);
 }