示例#1
0
 public void Show(MartialArtsRoomListPanel myParent, EctypePraictice ectypePraictice)
 {
     IsShow               = true;
     this.MyParent        = myParent;
     this.ectypePraictice = ectypePraictice;
     this.gameObject.SetActive(true);
     TraceUtil.Log("解锁房间ID:" + ectypePraictice.dwRoomID);
     this.EctypeContainerData = EctypeConfigManager.Instance.EctypeContainerConfigList[(int)ectypePraictice.dwEctypeID];
     RoomNameLabel.SetText(string.Format(LanguageTextManager.GetString("IDS_H1_474"), ectypePraictice.Name));
     RoleNumberLabel.SetText(string.Format("{0}/{1}", ectypePraictice.dwPlayerNum, EctypeContainerData.lMaxActorCount));
     SpeedLabel.SetText(string.Format("{0}{1}", ectypePraictice.dwPraicticeSpeed.ToString(), LanguageTextManager.GetString("IDS_H1_475")));
     UpLimitLabel.SetText(ectypePraictice.dwPraicticeMax.ToString());
 }
示例#2
0
 public void Show(MartialArtsRoomListPanel myParent)
 {
     this.MyParent           = myParent;
     transform.localPosition = new Vector3(0, 0, -100);
     IsShow = true;
 }