Exemplo n.º 1
0
 public void Setup(int _index, TrophyList _trophy_list)
 {
     this.index         = _index;
     this.item_distance = Mathf.Abs((float)(this.contents_transform.get_anchoredPosition().y + this.grid_rect.get_anchoredPosition().y));
     this.trophy_list   = _trophy_list;
     this.view_mergin   = this.item_distance * (float)(this.index + 1);
 }
Exemplo n.º 2
0
        public void Activated(int pinID)
        {
            switch (pinID)
            {
            case 0:
                this.Initialize();
                break;

            case 1:
                this.RefreshTrophyDatas();
                TrophyList componentInChildren = (TrophyList)((Component)this).GetComponentInChildren <TrophyList>();
                if (!Object.op_Inequality((Object)componentInChildren, (Object)null))
                {
                    break;
                }
                componentInChildren.RefreshLight();
                break;
            }
        }