static int CalculateLayoutInputHorizontal(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject <TMPro.TextMeshPro>(L, 1); obj.CalculateLayoutInputHorizontal(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }