// Token: 0x06010D43 RID: 68931 RVA: 0x0045CC24 File Offset: 0x0045AE24 public void InitSkillItem(ConfigDataSkillInfo skillInfo, GameObject descParent) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitSkillItemConfigDataSkillInfoGameObject_hotfix != null) { this.m_InitSkillItemConfigDataSkillInfoGameObject_hotfix.call(new object[] { this, skillInfo, descParent }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_skillInfo = skillInfo; this.m_descParent = descParent; this.m_skillIconImg.sprite = AssetUtility.Instance.GetSprite(this.m_skillInfo.Icon); this.m_passiveSkillIconObj.SetActive(skillInfo.IsPassiveSkill()); }
// Token: 0x060106D9 RID: 67289 RVA: 0x00448174 File Offset: 0x00446374 public void InitSkillItem(ConfigDataSkillInfo skillInfo) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitSkillItemConfigDataSkillInfo_hotfix != null) { this.m_InitSkillItemConfigDataSkillInfo_hotfix.call(new object[] { this, skillInfo }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_skillInfo = skillInfo; this.m_skillIconImg.sprite = AssetUtility.Instance.GetSprite(this.m_skillInfo.Icon); UIUtility.SetGameObjectChildrenActiveCount(this.m_skillCost, this.m_skillInfo.SkillCost); UIUtility.SetGameObjectChildrenActiveCount(this.m_skillCostBg, this.m_skillInfo.SkillCost); this.m_passivityText.SetActive(skillInfo.IsPassiveSkill()); }