示例#1
0
        public void Init(OpenMovie om)
        {
            om_ = om;

            txt.text  = "Title: <color=white>" + om.Title + "</color>\n";
            txt.text += "Year: <color=red>" + om.Year + "</color>";

            StartCoroutine(GetPoster(om.Poster));
        }
示例#2
0
        public void Init(DetailedOpenMovie dom)
        {
            om_ = null;

            txt.text  = "Title: <color=white>" + dom.Title + "</color>\n";
            txt.text += "Year: <color=red>" + dom.Year + "</color>\n";
            txt.text += "Genre: <color=white>" + dom.Genre + "</color>\n";
            txt.text += "Language: <color=red>" + dom.Language + "</color>\n";
            txt.text += "Country: <color=white>" + dom.Country + "</color>\n";
            txt.text += "Director: <color=red>" + dom.Director + "</color>\n";
            txt.text += "Awards: <color=white>" + dom.Awards + "</color>\n";
            txt.text += "Actors: <color=red>" + dom.Actors + "</color>\n";

            StartCoroutine(GetPoster(dom.Poster));
        }