Пример #1
0
 static public int onCustomerHandle_s(IntPtr l)
 {
     try {
         System.Object a1;
         checkType(l, 1, out a1);
         System.Object a2;
         checkType(l, 2, out a2);
         UGUIEvent.onCustomerHandle(a1, a2);
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Пример #2
0
    public void OnCustomerEvent(Object arg)
    {
        var g = EventSystem.current.currentSelectedGameObject;

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