// 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()
 {
     pause = pause.GetComponent <menuScriptInGame>();
     score = score.GetComponent <scoreCount>();
 }