コード例 #1
0
 public void SetTaskTypeAndParam(eTaskType tasktype, eInvitePageType pageType, eTaskTabType tasktab)
 {
     hasInit           = false;
     this.tasktype     = tasktype;
     this.pageType     = pageType;
     this.tasktab      = tasktab;
     mDL.DefaultDataID = taskdataid;
 }
コード例 #2
0
 private void OnTaskTypeBtnClick(eTaskTabType type, int pagetype)
 {
     //if ((int)curPage == pagetype && curTaskType == type)
     //{
     //    return;
     //}
     curTaskType   = type;
     typeSp0.color = curTaskType == eTaskTabType.logion ? Color.white : Color.magenta;
     typeSp1.color = curTaskType == eTaskTabType.levelup ? Color.white : Color.magenta;
     typeSp2.color = curTaskType == eTaskTabType.charge ? Color.white : Color.magenta;
     //设置显示itemlist
     inviteTaskScroll.SetTaskTypeAndParam(eTaskType.Invite, curPage, curTaskType);
 }