Esempio n. 1
0
        public void Init(PhrasesPage _manager, PhraseInfo _info)
        {
            info    = _info;
            manager = _manager;

            if (info.unlocked || AppManager.I.Player.IsDemoUser)
            {
                LockIcon.enabled = false;
            }
            else
            {
                LockIcon.enabled = true;
            }

            Title.text    = info.data.Text;
            SubTitle.text = AppManager.I.ParentEdition.ShowHelpText ? info.data.Id : "";
        }
Esempio n. 2
0
        public void Init(PhrasesPage _manager, PhraseInfo _info)
        {
            info    = _info;
            manager = _manager;

            if (info.unlocked || AppManager.I.Player.IsDemoUser)
            {
                LockIcon.enabled = false;
            }
            else
            {
                LockIcon.enabled = true;
            }

            Title.text    = info.data.Arabic;
            SubTitle.text = info.data.English;
        }