Ejemplo n.º 1
0
 public void Show(CollectionChildBottle bottle)
 {
     string info = GameManager.Instance.mGameDataManager.mBottleInfoGroup.First(C => C.mBottleType == bottle.mType).Info;
     CurrentPage = 0;
     mInfoGroup.Clear();
     //        Debug.Log("Show");
     info.Split('#').ApplyAllItem(C => {
         if (!string.IsNullOrEmpty(C))
             mInfoGroup.Add(C);
     });
     UpdatePageData();
     GrayCollider.gameObject.SetActive(true);
     TweenSetCollider(true);
     GrayCollider.transform.position = bottle.transform.position;
 }
Ejemplo n.º 2
0
 public void OnBottleClick(CollectionChildBottle bottle)
 {
     mBottleInfoShow.Show(bottle);
 }
Ejemplo n.º 3
0
 public void Init(CollectionChildBottle bottle)
 {
     mBottle = bottle;
 }