private void Start() { langIndex = PlayerPrefs.HasKey("lang") ? PlayerPrefs.GetInt("lang") : 0; centerOfEye = new Vector2(pupil.position.x, pupil.position.y); RewardScreen.transform.GetComponentInChildren <TextMeshProUGUI>().text = StringLiterals.rewardScreenText[(int)DataTransfer.language]; Button[] btns = RewardScreen.transform.GetComponentsInChildren <Button>(); btns[0].GetComponentInChildren <TextMeshProUGUI>().text = StringLiterals.rewardScreen4Sec[(int)DataTransfer.language]; btns[1].GetComponentInChildren <TextMeshProUGUI>().text = StringLiterals.rewardScreen8Sec[(int)DataTransfer.language]; btns[2].GetComponentInChildren <TextMeshProUGUI>().text = StringLiterals.rewardScreenNoButton[(int)DataTransfer.language]; if (ProgressController.IsHowToPlayShowed() == false) { FindObjectOfType <HowToPlay>().NextButton(); HowToPlay(false); showCardsButton.interactable = false; optionsButton.interactable = false; } }