Exemplo n.º 1
0
    public void SetData(BelleGetItemWindow parentWindow, Tab_BelleGetItemWay belleGetItemWay)
    {
        if (null == belleGetItemWay)
        {
            return;
        }
        m_parentWindow = parentWindow;

        gameObject.name = belleGetItemWay.Id.ToString();

        m_belleItemGetDesc.text  = StrDictionary.GetClientDictionaryString("#{" + belleGetItemWay.WayDescDictId + "}");
        m_getItemIcon.spriteName = belleGetItemWay.WayIcon;
    }
Exemplo n.º 2
0
 void Awake()
 {
     m_instance = this;
 }