void OnEnable() { m_Instance = this; if (m_PartnerFrameLogic_Skill.gameObject.activeSelf) { m_CurTab = DEVELOPCONTENT.DEVELOPCONTENT_SKILL; } //Check_NewPlayerGuide(); }
void TabOnClick(TabButton value) { if (value.name == "Tab1-Star") { m_CurTab = DEVELOPCONTENT.DEVELOPCONTENT_STAR; if (m_PartnerFrameLogic_Star != null && m_Fellow != null) { m_PartnerFrameLogic_Star.UpdateFellowInfo(m_Fellow); } } else if (value.name == "Tab2-Skill") { m_CurTab = DEVELOPCONTENT.DEVELOPCONTENT_SKILL; if (m_PartnerFrameLogic_Skill != null && m_Fellow != null) { m_PartnerFrameLogic_Skill.UpdateFellowInfo(m_Fellow); } } }