示例#1
0
    /// <summary>
    /// 显示英雄Item
    /// </summary>
    /// <param name="SkinKey"></param>
    /// <param name="HeroKey"></param>
    public void ShowHeroSkinItem(int SkinKey, int HeroKey)
    {
        m_SkinKey = SkinKey;
        m_HeroKey = HeroKey;
        ArtresourceTemplate _ArtresData = (ArtresourceTemplate)DataTemplate.GetInstance().m_ArtresourceTable.getTableData(SkinKey);

        m_SkinIconImg.sprite = UIResourceMgr.LoadSprite(common.defaultPath + _ArtresData.getFashionresource());
        m_SkinNameTxt.text   = GameUtils.getString(_ArtresData.getNameID());
        ShowSkinDes(_ArtresData);
        ShowSelected();
    }