private void ButtonActionResume()
 {
     this.gameObject.SetActive(false);
     ObjectCanvasGameUI.SetActive(true);
     Time.timeScale = 1;
 }
 private void ButtonActionQuit()
 {
     ObjectCanvasGameUI.GetComponent <CanvasGameUI>().UpdateButtonsForAI();
 }