Exemplo n.º 1
0
        void OnTexPointerDown(GameObject obj)
        {
            Debug.Log("OnTexPointerDown !!!!!!!!!!!!!!!");
            Vector2 pointer_pos = m_input_tex.BaseEventTriggerListener.PointerEventData.position;
            Vector2 localPos;

            RectTransformUtility.ScreenPointToLocalPointInRectangle(CurViewLogic().Transform, pointer_pos, FrameMgr.Instance.UICamera, out localPos);
            m_cur_normal_item_view = ShowItem(SCAN_GAME_ITEM_TYPE.NORMAL, localPos);
        }
Exemplo n.º 2
0
 void OnTexPointerUp(GameObject obj)
 {
     Debug.Log("OnTexPointerUp !!!!!!!!!!!!!!!");
     m_cur_normal_item_view = null;
     HideItem();
 }