コード例 #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);
 }
コード例 #2
0
ファイル: TrophyWindow.cs プロジェクト: zunaalabaya/TAC-BOT
        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;
            }
        }