예제 #1
0
    public void Init(Tab_CabalFellowElementSkillBook book)
    {
        Tab_CommonItem bookShowInfo = TableManager.GetCommonItemByID(book.Id, 0);

        mBook                   = bookShowInfo;
        m_NameLabel.text        = bookShowInfo.Name;
        m_SkillIcon.spriteName  = bookShowInfo.Icon;
        m_ElementPic.spriteName = FellowTool.GetFellowElementPic(book.ElementAttr);
        m_ElementLabel.text     = FellowTool.GetFellowElementText(book.ElementAttr);
    }