public override void InitPopUp(GUIBillboardPopUp.BillboardContent contents) { this.mWaiting.enabled = false; for (int i = 0; i < contents.urgent.Count; i += 2) { if (i + 2 <= contents.urgent.Count) { GameUITools.AddChild(this.mTable.gameObject, this.InitContents(contents.urgent[i], contents.urgent[i + 1]).gameObject); } } for (int j = 0; j < contents.notice.Count; j += 2) { if (j + 2 <= contents.notice.Count) { GameUITools.AddChild(this.mTable.gameObject, this.InitContents(contents.notice[j], contents.notice[j + 1]).gameObject); } } this.mBar.gameObject.SetActive(true); this.mTable.repositionNow = true; base.Invoke("SetOnlyIfNeeded", 0.01f); }
public virtual void InitPopUp(GUIBillboardPopUp.BillboardContent contents) { }
public void InitWithBaseScene(GUIBillboardPopUp popUp) { this.mBaseScene = popUp; this.CreateObjects(); }