private void OnDisable() { MtaManager.TrackEndPage(MtaType.SortFriendWindow); SortLis.onClick = null; orderType = OrderType.Atk; SortLabel.text = LanguageManager.Instance.GetTextValue(FriendUtils.SortNameKeys[(int)orderType]); }
private void OnSort(GameObject go) { orderType = (OrderType)(((int)orderType + 1) % FriendUtils.SortNameKeys.Count); SortLabel.text = LanguageManager.Instance.GetTextValue(FriendUtils.SortNameKeys[(int) orderType]); Refresh(friendInfos); }