public void PlayGame()
 {
     pausePressed = false;
     PauseBtn.SetActive(true);
     PlayBtn.SetActive(false);
     playPressed = true;
     Debug.Log("plaaaay " + playPressed);
     Time.timeScale = 1;
     CherryObj.GetComponent <CherryFactory> ().enabled = true;
 }
 public void PauseGame()
 {
     Time.timeScale         = 0;
     TextClignotant.playall = false;
     PlayBtn.SetActive(true);
     pausePressed = true;
     playPressed  = false;
     PauseBtn.SetActive(false);
     CherryObj.GetComponent <CherryFactory> ().enabled = false;
     Debug.Log("paauuuuuuuse " + pausePressed);
 }