コード例 #1
0
 public void SetArticle(NewsArticle article)
 {
     this.title.text    = article.Title;
     this.body.text     = article.Body;
     this.image.texture = article.Image;
 }
コード例 #2
0
 public void ExpandArticleView(NewsArticle article)
 {
     this.NewsListPanel.SetActive(false);
     this.ArticleViewPanel.gameObject.SetActive(true);
     this.ArticleViewPanel.SetArticle(article);
 }