// Use this for initialization
 void Start()
 {
     pressYes           = pressYes.GetComponent <Button>();
     pressNo            = pressNo.GetComponent <Button>();
     inGameMenu         = inGameMenu.GetComponent <Canvas>();
     retryMenu          = retryMenu.GetComponent <Canvas>();
     player             = player.GetComponent <playerMovement_>();
     endScore           = endScore.GetComponent <scoreCount>();
     endScoreText       = endScoreText.GetComponent <Text>();
     retryMenu.enabled  = false;
     inGameMenu.enabled = false;
     pressYes.enabled   = false;
     pressNo.enabled    = false;
 }
 void Start()
 {
     score  = score.GetComponent <Text>();
     player = player.GetComponent <playerMovement_>();
     pause  = pause.GetComponent <menuScriptInGame>();
 }