void OnDisable() { m_Instance = null; m_Fellow = null; DestroyPartnerFakeObj(); GameManager.gameManager.ActiveScene.HideFakeObj(); }
void OnEnable() { m_Instance = this; if (m_PartnerFrameLogic_Skill.gameObject.activeSelf) { m_CurTab = DEVELOPCONTENT.DEVELOPCONTENT_SKILL; } //Check_NewPlayerGuide(); }
void OnLevelUpClick() { //天赋技能改成根据宠物的等级提升而提升 //if (m_TallentSkillId != GlobeVar.INVALID_ID) //{ // if (PartnerFrameLogic_Skill.Instance() != null) // { // PartnerFrameLogic_Skill.Instance().OnTalentSkillLevelUpClick(m_TallentSkillId); // } //} if (m_ElementSkillId != GlobeVar.INVALID_ID) { if (PartnerFrameLogic_Skill.Instance() != null) { PartnerFrameLogic_Skill.Instance().OnElementSkillLevelUpClick(m_ElementSkillId); } } if (PartnerFrameLogic_Develop.Instance() && PartnerFrameLogic_Develop.Instance().NewPlayerGuideFlag_Step == 1) { PartnerFrameLogic_Develop.Instance().NewPlayerGuide(2); } }