static int RegisterCallBack(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 5);
         UICore   obj  = (UICore)ToLua.CheckObject <UICore>(L, 1);
         LuaTable arg0 = ToLua.CheckLuaTable(L, 2);
         string   arg1 = ToLua.CheckString(L, 3);
         UnityEngine.GameObject arg2 = (UnityEngine.GameObject)ToLua.CheckObject(L, 4, typeof(UnityEngine.GameObject));
         UnityEngine.EventSystems.EventTriggerType arg3 = (UnityEngine.EventSystems.EventTriggerType)ToLua.CheckObject(L, 5, typeof(UnityEngine.EventSystems.EventTriggerType));
         obj.RegisterCallBack(arg0, arg1, arg2, arg3);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }