Exemple #1
0
    public void Start()
    {
        foreach (Ingredient ingredient in allIngredients)
        {
            string translatedName = ingredient.name.ToString();
            TranslationController.Translate(translatedName, language, ingredient.OnGetTranslation);

            if (ingredient.isAdditionalIngredient)
            {
                additionalIngredients.Add(ingredient);
            }
        }

        TranslationController.Translate("and", language, SetAndString);
        TranslationController.Translate("with", language, SetWithString);

        andString  = "y";
        withString = "con";
    }