14 return EMono.player.popups;
29 public override void OnActivate()
31 WidgetPopup.Instance =
this;
32 if (this.items.Count == 0)
54 this.textMain.SetText(item.text);
55 this.textPage.text = (this.items.IndexOf(item) + 1).ToString() +
" / " + this.items.Count.ToString();
56 this.layout.RebuildLayout(
false);
63 this.Show(this.items.NextItem(
this.current));
69 this.Show(this.items.PrevItem(
this.current));
82 this.RebuildLayout(
false);
86 public void RemoveItem()
94 public LayoutGroup layout;
97 public UIText textMain;
100 public UIText textPage;
103 public UIImage imageMain;