Exemple #1
0
 private void SetBestTimeOrStamp(Transform t, ArenaUserRecordModel.Param record)
 {
     if (arenaData.rank == ARENA_RANK.S)
     {
         string text = (record == null) ? QuestUtility.CreateTimeStringByMilliSec(QuestUtility.GetDefaultArenaTime()) : QuestUtility.CreateTimeStringByMilliSec(record.clearMilliSecList[(int)arenaData.group]);
         SetActive(t, UI.SPR_BEST_TIME, true);
         SetActive(t, UI.LBL_BEST_TIME, true);
         SetLabelText(t, UI.LBL_BEST_TIME, text);
         SetActive(t, UI.GRD_ICON_ROOT, false);
         SetActive(t, UI.SPR_MAIN_REWARD, false);
         SetActive(t, UI.OBJ_NEED, false);
     }
     else
     {
         SetActive(t, UI.SPR_BEST_TIME, false);
         SetActive(t, UI.LBL_BEST_TIME, false);
         SetActive(t, UI.OBJ_REQUEST_COMPLETED, true);
     }
 }
Exemple #2
0
 public void SetupComplete(Transform t, DeliveryTable.DeliveryData info, ArenaUserRecordModel.Param record)
 {
     InitArenaData(info);
     base.Setup(t, info);
     SetBestTimeOrStamp(t, record);
 }