Exemple #1
0
 void OnItemClick(int itemID)
 {
     if (itemID > 0)
     {
         ShopModule.ShowItemPreviewUIHandler(itemID);
     }
 }
        protected void OnAeraClick()
        {
            if (m_OnClickCallback != null)
            {
                m_OnClickCallback();
            }

            ShopModule.ShowItemPreviewUIHandler(m_ItemId);
        }
Exemple #3
0
    void OnItemClick(GameObject go)
    {
        if (go == null)
        {
            return;
        }

        try
        {
            int id = (int)(EventTriggerListener.Get(go).param);
            if (id != -1)
            {
                ShopModule.ShowItemPreviewUIHandler(id);
            }
        }
        catch (Exception e)
        {
            LogManager.LogError(e);
        }
    }
Exemple #4
0
 void OnItemClick(int param)
 {
     ShopModule.ShowItemPreviewUIHandler(param);
 }