static int SetLayoutDirty(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); TMPro.TextMeshProUGUI obj = (TMPro.TextMeshProUGUI)ToLua.CheckObject(L, 1, typeof(TMPro.TextMeshProUGUI)); obj.SetLayoutDirty(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }