static int UpdateGeometry(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         TMPro.TextMeshProUGUI obj  = (TMPro.TextMeshProUGUI)ToLua.CheckObject(L, 1, typeof(TMPro.TextMeshProUGUI));
         UnityEngine.Mesh      arg0 = (UnityEngine.Mesh)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Mesh));
         int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         obj.UpdateGeometry(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }