| | |
| | | void Display() |
| | | { |
| | | var _list = GuildBossManager.Instance.bossActions.Keys.ToList(); |
| | | _list.Sort(Cmp); |
| | | atkScroller.Refresh(); |
| | | for (int i = 0; i < _list.Count; i++) |
| | | { |
| | |
| | | awardScroller.Restart(); |
| | | } |
| | | |
| | | int Cmp(int playerIDA, int playerIDB) |
| | | { |
| | | int timeA = (int)GuildBossManager.Instance.bossActions[playerIDA].Time; |
| | | int timeB = (int)GuildBossManager.Instance.bossActions[playerIDB].Time; |
| | | return timeB.CompareTo(timeA); |
| | | } |
| | | |
| | | void OnRefreshCell(ScrollerDataType type, CellView cell) |
| | | { |
| | | var _cell = cell.GetComponent<Text>(); |