public JobSelRightPnl(JobSelectData data) : base(data) { m_jobSelProg = new JobSelProg(m_jobSelectData); m_skillImage = new AuxDynImageStaticGOImage(); }
public JobSelMidPnl(JobSelectData data) : base(data) { m_jobCardList = new List<JobCard>(); if (JobSelectMode.eNewCardSet == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode) { m_cardCount = (int)EnPlayerCareer.ePCTotal - 1; // 没有中立 } else if (JobSelectMode.eDz == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode) { m_cardCount = Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr.Count; } for (int idx = 0; idx < m_cardCount; ++idx) { if (JobSelectMode.eNewCardSet == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode) { m_jobCardList.Add(new JobCard(m_jobSelectData, idx, (EnPlayerCareer)(idx + 1))); // 职业从 1 开始 } else if (JobSelectMode.eDz == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode) { m_jobCardList.Add(new JobCard(m_jobSelectData, idx, (EnPlayerCareer)Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr[idx].m_cardGroup.occupation)); m_jobCardList[idx].cardGroupItem = Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr[idx]; } } m_jobSelProg = new JobSelProg(m_jobSelectData); m_auxLayoutH = new AuxLayoutH(); m_auxLayoutH.elemWidth = 445; m_auxLayoutH.elemHeight = 500; m_jobNameImage = new AuxDynImageStaticGOImage(); }
protected AuxDynImageStaticGOImage m_auxDynImageStaticGOImage; // 这个图片和 Prefab public AuxDynImageStaticGoButton(GameObject pntNode = null, string path = "", BtnStyleID styleId = BtnStyleID.eBSID_None) : base(pntNode, path, styleId) { m_auxDynImageStaticGOImage = new AuxDynImageStaticGOImage(); m_auxDynImageStaticGOImage.selfGo = this.selfGo; }
public LeftBtnPnl(TuJianData data) : base(data) { m_jobBtnImage = new AuxDynImageStaticGOImage(); m_mpBtnImage = new AuxDynImageStaticGOImage(); }
protected AuxDynImageStaticGOImage m_auxDynImageStaticGOImage; // 这个图片和 Prefab public AuxDynImageStaticGoButton(GameObject pntNode = null, string path = "", BtnStyleID styleId = BtnStyleID.eBSID_None) : base(pntNode, path, styleId) { m_auxDynImageStaticGOImage = new AuxDynImageStaticGOImage(); m_auxDynImageStaticGOImage.selfGo = this.selfGo; }