public void InitInfo(int nFormulaID) { Tab_LivingSkill tabLivingSkill = TableManager.GetLivingSkillByID(nFormulaID, 0); if (tabLivingSkill == null) { return; } m_FormulaID = nFormulaID; m_NameLabel.text = tabLivingSkill.Name; // m_NameLabel2.text = tabLivingSkill.Name; m_InfoLabel.text = tabLivingSkill.Info; m_ItemSlot.InitInfo_Formula(m_FormulaID); UpdateEnableState(); }