public void Start()
 {
     StaticCheckGame.reset();
     if (StaticMinigame3Controller.getReplay() == true)
     {
         instructionsPanel.SetActive(false);
     }
     StaticCheckGame.reset();
     if (StaticLanguage.getLanguage().Equals("portuguese"))
     {
         instructions.text            = "Organiza o frigorífico o máximo número de vezes dentro do tempo limite, movendos as comidas para o respetivo lugar seguindo estas regras:\n - Bebidas na porta;\n - Apenas os vegetais e frutas podem estar na secção inferior do frigorífico;\n - Na mesma secção apenas pode existir uma família de alimentos.";
         instructionHighscoreSub.text = "Melhor Pontuação";
         gameEndHighscoreSub.text     = "Melhor Pontuação";
     }
     else
     {
         instructions.text            = "Organize the fridge, as many times as you can within the time limit, moving the foods to their respective places following these rules:\n - Drinks on the door;\n - Only vegetables and fruits can stay on the lower section of the fridge;\n - On the same section there can only be one food family.";
         instructionHighscoreSub.text = "Highscore";
         gameEndHighscoreSub.text     = "Highscore";
     }
     if (!System.IO.File.Exists(Application.persistentDataPath + "/sendToServer"))
     {
         sendToServer = new SendToServer();
     }
     else
     {
         sendToServer = FileManager.ReadFromBinaryFile <SendToServer> (Application.persistentDataPath + "/sendToServer");
     }
     highscore.text = "" + sendToServer.minigame2Highscore;
     setFoods();
 }
    public void Start()
    {
        if (StaticLanguage.getLanguage().Equals("portuguese"))
        {
            legumesText.text   = "Legumes e Verduras";
            hidratosText.text  = "Hidratos de Carbono";
            proteinaVText.text = "Proteína Vegetal";
            proteinaAText.text = "Proteína Animal";
            frutaText.text     = "Frutas";
        }
        else
        {
            legumesText.text   = "Vegetables";
            hidratosText.text  = "Carbohydrates";
            proteinaVText.text = "Vegetable Protein";
            proteinaAText.text = "Animal Protein";
            frutaText.text     = "Fruits";
        }
        if (StaticMinigame3Controller.getReplay() == true)
        {
            instructionsPanel.SetActive(false);
        }
        StaticCheckGame.reset();
        if (StaticLanguage.getLanguage().Equals("portuguese"))
        {
            instructions.text            = "Organiza o teu prato, o máximo número de vezes dentro do tempo limite, movendo as comidas para o seu respetivo lugar.";
            instructionHighscoreSub.text = "Melhor Pontuação";
            gameEndHighscoreSub.text     = "Melhor Pontuação";
        }
        else
        {
            instructions.text            = "Organize your plate, as many times as you can within the time limit, moving the foods to their respective places.";
            instructionHighscoreSub.text = "Highscore";
            gameEndHighscoreSub.text     = "Highscore";
        }
        if (!System.IO.File.Exists(Application.persistentDataPath + "/sendToServer"))
        {
            sendToServer = new SendToServer();
        }
        else
        {
            sendToServer = FileManager.ReadFromBinaryFile <SendToServer> (Application.persistentDataPath + "/sendToServer");
        }
        time.text  = "" + roundTime;
        score.text = "" + scoreNumber;

        highscore.text = "" + sendToServer.minigame4Highscore;

        setIngredients();
    }