Exemplo n.º 1
0
 private void EndSort(int i)
 {
     this.ngTX_SORT.text = CMD_ModalSort.GetSortName(CMD_BaseSelect.IconSortType);
     if (this.ActCallBackEnd != null)
     {
         this.ActCallBackEnd();
     }
 }
Exemplo n.º 2
0
 public override void OnTouchEnded(Touch touch, Vector2 pos, bool flag)
 {
     if (GUICollider.IsAllColliderDisable())
     {
         return;
     }
     if (!base.activeCollider)
     {
         return;
     }
     base.OnTouchEnded(touch, pos, flag);
     if (flag)
     {
         float magnitude = (this.beganPostion - pos).magnitude;
         if (magnitude < 40f)
         {
             CMD_ModalSort cmd_ModalSort = GUIMain.ShowCommonDialog(new Action <int>(this.EndSort), "CMD_ModalSort", null) as CMD_ModalSort;
             cmd_ModalSort.SetTargetMonsterList(this.SortTargetMonsterList);
             cmd_ModalSort.SetChangeSettingAction(this.OnChangeSortType);
             cmd_ModalSort.Initialize();
         }
     }
 }
Exemplo n.º 3
0
 private void AwakeSort()
 {
     this.ngTX_SORT      = this.goTX_SORT.GetComponent <UILabel>();
     this.ngTX_SORT.text = CMD_ModalSort.GetSortName(CMD_BaseSelect.IconSortType);
 }
Exemplo n.º 4
0
 private void SetSortName()
 {
     this.ngTX_SORT.text = string.Format(StringMaster.GetString("Sort-01"), CMD_ModalSort.GetSortName(this.sortType));
 }