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