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 : ""; }
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; }