Example #1
0
    public override void awake_function()
    {
        m_static_ShopItemMenu = m_ShopItemMenu;

        base.awake_function();
        foreach (string child in fileNames)
        {
            if (m_ShopItemMenu == null)
            {
                m_ShopItemMenu = new ShopMenu();
            }
            m_ShopItemMenu.Add(GetShopItemKind(child),
                               CSV2ListReader(child));
        }
    }