Exemple #1
0
 static public int onPressHandle_s(IntPtr l)
 {
     try {
         UnityEngine.GameObject a1;
         checkType(l, 1, out a1);
         System.Boolean a2;
         checkType(l, 2, out a2);
         UGUIEvent.onPressHandle(a1, a2);
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Exemple #2
0
    public void OnPointerUp(BaseEventData eventData)
    {
        var g = EventSystem.current.currentSelectedGameObject;

        UGUIEvent.onPressHandle(g, eventData);
    }