Пример #1
0
 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);
 }
Пример #2
0
 public virtual void InitPopUp(GUIBillboardPopUp.BillboardContent contents)
 {
 }
Пример #3
0
 public void InitWithBaseScene(GUIBillboardPopUp popUp)
 {
     this.mBaseScene = popUp;
     this.CreateObjects();
 }