Exemplo n.º 1
0
    public void OnPointerClick(BaseEventData eventData)
    {
        //PointerEventData ped = eventData as PointerEventData;
        var g = EventSystem.current.currentSelectedGameObject;

        UGUIEvent.onClickHandle(g, eventData);
    }
Exemplo n.º 2
0
    public void OnPointerClick(BaseEventData eventData)
    {
        PointerEventData ped = eventData as PointerEventData;
        var g = EventSystem.current.currentSelectedGameObject;

        UGUIEvent.onClickHandle(g, eventData); //Debug.Log("you are click "+g);
    }
Exemplo n.º 3
0
 static public int onClickHandle_s(IntPtr l)
 {
     try {
         UnityEngine.GameObject a1;
         checkType(l, 1, out a1);
         System.Object a2;
         checkType(l, 2, out a2);
         UGUIEvent.onClickHandle(a1, a2);
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Exemplo n.º 4
0
    public void OnButtonClick(Object arg)
    {
        var g = EventSystem.current.currentSelectedGameObject;

        UGUIEvent.onClickHandle(g, arg);         //Debug.Log("you are click "+g);
    }