TMPro_TextMeshProWrap.cs 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class TMPro_TextMeshProWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(TMPro.TextMeshPro), typeof(TMPro.TMP_Text));
  9. L.RegFunction("SetMask", SetMask);
  10. L.RegFunction("SetVerticesDirty", SetVerticesDirty);
  11. L.RegFunction("SetLayoutDirty", SetLayoutDirty);
  12. L.RegFunction("SetMaterialDirty", SetMaterialDirty);
  13. L.RegFunction("SetAllDirty", SetAllDirty);
  14. L.RegFunction("Rebuild", Rebuild);
  15. L.RegFunction("UpdateMeshPadding", UpdateMeshPadding);
  16. L.RegFunction("ForceMeshUpdate", ForceMeshUpdate);
  17. L.RegFunction("GetTextInfo", GetTextInfo);
  18. L.RegFunction("ClearMesh", ClearMesh);
  19. L.RegFunction("UpdateGeometry", UpdateGeometry);
  20. L.RegFunction("UpdateVertexData", UpdateVertexData);
  21. L.RegFunction("UpdateFontAsset", UpdateFontAsset);
  22. L.RegFunction("CalculateLayoutInputHorizontal", CalculateLayoutInputHorizontal);
  23. L.RegFunction("CalculateLayoutInputVertical", CalculateLayoutInputVertical);
  24. L.RegFunction("ComputeMarginSize", ComputeMarginSize);
  25. L.RegFunction("__eq", op_Equality);
  26. L.RegFunction("__tostring", ToLua.op_ToString);
  27. L.RegVar("sortingLayerID", get_sortingLayerID, set_sortingLayerID);
  28. L.RegVar("sortingOrder", get_sortingOrder, set_sortingOrder);
  29. L.RegVar("autoSizeTextContainer", get_autoSizeTextContainer, set_autoSizeTextContainer);
  30. L.RegVar("transform", get_transform, null);
  31. L.RegVar("renderer", get_renderer, null);
  32. L.RegVar("mesh", get_mesh, null);
  33. L.RegVar("meshFilter", get_meshFilter, null);
  34. L.RegVar("maskType", get_maskType, set_maskType);
  35. L.EndClass();
  36. }
  37. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  38. static int SetMask(IntPtr L)
  39. {
  40. try
  41. {
  42. int count = LuaDLL.lua_gettop(L);
  43. if (count == 3)
  44. {
  45. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  46. TMPro.MaskingTypes arg0 = (TMPro.MaskingTypes)ToLua.CheckObject(L, 2, typeof(TMPro.MaskingTypes));
  47. UnityEngine.Vector4 arg1 = ToLua.ToVector4(L, 3);
  48. obj.SetMask(arg0, arg1);
  49. return 0;
  50. }
  51. else if (count == 5)
  52. {
  53. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  54. TMPro.MaskingTypes arg0 = (TMPro.MaskingTypes)ToLua.CheckObject(L, 2, typeof(TMPro.MaskingTypes));
  55. UnityEngine.Vector4 arg1 = ToLua.ToVector4(L, 3);
  56. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  57. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  58. obj.SetMask(arg0, arg1, arg2, arg3);
  59. return 0;
  60. }
  61. else
  62. {
  63. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TextMeshPro.SetMask");
  64. }
  65. }
  66. catch (Exception e)
  67. {
  68. return LuaDLL.toluaL_exception(L, e);
  69. }
  70. }
  71. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  72. static int SetVerticesDirty(IntPtr L)
  73. {
  74. try
  75. {
  76. ToLua.CheckArgsCount(L, 1);
  77. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  78. obj.SetVerticesDirty();
  79. return 0;
  80. }
  81. catch (Exception e)
  82. {
  83. return LuaDLL.toluaL_exception(L, e);
  84. }
  85. }
  86. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  87. static int SetLayoutDirty(IntPtr L)
  88. {
  89. try
  90. {
  91. ToLua.CheckArgsCount(L, 1);
  92. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  93. obj.SetLayoutDirty();
  94. return 0;
  95. }
  96. catch (Exception e)
  97. {
  98. return LuaDLL.toluaL_exception(L, e);
  99. }
  100. }
  101. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  102. static int SetMaterialDirty(IntPtr L)
  103. {
  104. try
  105. {
  106. ToLua.CheckArgsCount(L, 1);
  107. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  108. obj.SetMaterialDirty();
  109. return 0;
  110. }
  111. catch (Exception e)
  112. {
  113. return LuaDLL.toluaL_exception(L, e);
  114. }
  115. }
  116. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  117. static int SetAllDirty(IntPtr L)
  118. {
  119. try
  120. {
  121. ToLua.CheckArgsCount(L, 1);
  122. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  123. obj.SetAllDirty();
  124. return 0;
  125. }
  126. catch (Exception e)
  127. {
  128. return LuaDLL.toluaL_exception(L, e);
  129. }
  130. }
  131. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  132. static int Rebuild(IntPtr L)
  133. {
  134. try
  135. {
  136. ToLua.CheckArgsCount(L, 2);
  137. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  138. UnityEngine.UI.CanvasUpdate arg0 = (UnityEngine.UI.CanvasUpdate)ToLua.CheckObject(L, 2, typeof(UnityEngine.UI.CanvasUpdate));
  139. obj.Rebuild(arg0);
  140. return 0;
  141. }
  142. catch (Exception e)
  143. {
  144. return LuaDLL.toluaL_exception(L, e);
  145. }
  146. }
  147. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  148. static int UpdateMeshPadding(IntPtr L)
  149. {
  150. try
  151. {
  152. ToLua.CheckArgsCount(L, 1);
  153. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  154. obj.UpdateMeshPadding();
  155. return 0;
  156. }
  157. catch (Exception e)
  158. {
  159. return LuaDLL.toluaL_exception(L, e);
  160. }
  161. }
  162. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  163. static int ForceMeshUpdate(IntPtr L)
  164. {
  165. try
  166. {
  167. int count = LuaDLL.lua_gettop(L);
  168. if (count == 1)
  169. {
  170. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  171. obj.ForceMeshUpdate();
  172. return 0;
  173. }
  174. else if (count == 2)
  175. {
  176. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  177. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  178. obj.ForceMeshUpdate(arg0);
  179. return 0;
  180. }
  181. else
  182. {
  183. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TextMeshPro.ForceMeshUpdate");
  184. }
  185. }
  186. catch (Exception e)
  187. {
  188. return LuaDLL.toluaL_exception(L, e);
  189. }
  190. }
  191. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  192. static int GetTextInfo(IntPtr L)
  193. {
  194. try
  195. {
  196. ToLua.CheckArgsCount(L, 2);
  197. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  198. string arg0 = ToLua.CheckString(L, 2);
  199. TMPro.TMP_TextInfo o = obj.GetTextInfo(arg0);
  200. ToLua.PushObject(L, o);
  201. return 1;
  202. }
  203. catch (Exception e)
  204. {
  205. return LuaDLL.toluaL_exception(L, e);
  206. }
  207. }
  208. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  209. static int ClearMesh(IntPtr L)
  210. {
  211. try
  212. {
  213. int count = LuaDLL.lua_gettop(L);
  214. if (count == 1)
  215. {
  216. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  217. obj.ClearMesh();
  218. return 0;
  219. }
  220. else if (count == 2)
  221. {
  222. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  223. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  224. obj.ClearMesh(arg0);
  225. return 0;
  226. }
  227. else
  228. {
  229. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TextMeshPro.ClearMesh");
  230. }
  231. }
  232. catch (Exception e)
  233. {
  234. return LuaDLL.toluaL_exception(L, e);
  235. }
  236. }
  237. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  238. static int UpdateGeometry(IntPtr L)
  239. {
  240. try
  241. {
  242. ToLua.CheckArgsCount(L, 3);
  243. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  244. UnityEngine.Mesh arg0 = (UnityEngine.Mesh)ToLua.CheckObject(L, 2, typeof(UnityEngine.Mesh));
  245. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  246. obj.UpdateGeometry(arg0, arg1);
  247. return 0;
  248. }
  249. catch (Exception e)
  250. {
  251. return LuaDLL.toluaL_exception(L, e);
  252. }
  253. }
  254. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  255. static int UpdateVertexData(IntPtr L)
  256. {
  257. try
  258. {
  259. int count = LuaDLL.lua_gettop(L);
  260. if (count == 1)
  261. {
  262. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  263. obj.UpdateVertexData();
  264. return 0;
  265. }
  266. else if (count == 2)
  267. {
  268. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  269. TMPro.TMP_VertexDataUpdateFlags arg0 = (TMPro.TMP_VertexDataUpdateFlags)ToLua.CheckObject(L, 2, typeof(TMPro.TMP_VertexDataUpdateFlags));
  270. obj.UpdateVertexData(arg0);
  271. return 0;
  272. }
  273. else
  274. {
  275. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TextMeshPro.UpdateVertexData");
  276. }
  277. }
  278. catch (Exception e)
  279. {
  280. return LuaDLL.toluaL_exception(L, e);
  281. }
  282. }
  283. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  284. static int UpdateFontAsset(IntPtr L)
  285. {
  286. try
  287. {
  288. ToLua.CheckArgsCount(L, 1);
  289. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  290. obj.UpdateFontAsset();
  291. return 0;
  292. }
  293. catch (Exception e)
  294. {
  295. return LuaDLL.toluaL_exception(L, e);
  296. }
  297. }
  298. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  299. static int CalculateLayoutInputHorizontal(IntPtr L)
  300. {
  301. try
  302. {
  303. ToLua.CheckArgsCount(L, 1);
  304. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  305. obj.CalculateLayoutInputHorizontal();
  306. return 0;
  307. }
  308. catch (Exception e)
  309. {
  310. return LuaDLL.toluaL_exception(L, e);
  311. }
  312. }
  313. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  314. static int CalculateLayoutInputVertical(IntPtr L)
  315. {
  316. try
  317. {
  318. ToLua.CheckArgsCount(L, 1);
  319. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  320. obj.CalculateLayoutInputVertical();
  321. return 0;
  322. }
  323. catch (Exception e)
  324. {
  325. return LuaDLL.toluaL_exception(L, e);
  326. }
  327. }
  328. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  329. static int ComputeMarginSize(IntPtr L)
  330. {
  331. try
  332. {
  333. ToLua.CheckArgsCount(L, 1);
  334. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)ToLua.CheckObject<TMPro.TextMeshPro>(L, 1);
  335. obj.ComputeMarginSize();
  336. return 0;
  337. }
  338. catch (Exception e)
  339. {
  340. return LuaDLL.toluaL_exception(L, e);
  341. }
  342. }
  343. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  344. static int op_Equality(IntPtr L)
  345. {
  346. try
  347. {
  348. ToLua.CheckArgsCount(L, 2);
  349. UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
  350. UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
  351. bool o = arg0 == arg1;
  352. LuaDLL.lua_pushboolean(L, o);
  353. return 1;
  354. }
  355. catch (Exception e)
  356. {
  357. return LuaDLL.toluaL_exception(L, e);
  358. }
  359. }
  360. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  361. static int get_sortingLayerID(IntPtr L)
  362. {
  363. object o = null;
  364. try
  365. {
  366. o = ToLua.ToObject(L, 1);
  367. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  368. int ret = obj.sortingLayerID;
  369. LuaDLL.lua_pushinteger(L, ret);
  370. return 1;
  371. }
  372. catch(Exception e)
  373. {
  374. return LuaDLL.toluaL_exception(L, e, o, "attempt to index sortingLayerID on a nil value");
  375. }
  376. }
  377. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  378. static int get_sortingOrder(IntPtr L)
  379. {
  380. object o = null;
  381. try
  382. {
  383. o = ToLua.ToObject(L, 1);
  384. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  385. int ret = obj.sortingOrder;
  386. LuaDLL.lua_pushinteger(L, ret);
  387. return 1;
  388. }
  389. catch(Exception e)
  390. {
  391. return LuaDLL.toluaL_exception(L, e, o, "attempt to index sortingOrder on a nil value");
  392. }
  393. }
  394. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  395. static int get_autoSizeTextContainer(IntPtr L)
  396. {
  397. object o = null;
  398. try
  399. {
  400. o = ToLua.ToObject(L, 1);
  401. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  402. bool ret = obj.autoSizeTextContainer;
  403. LuaDLL.lua_pushboolean(L, ret);
  404. return 1;
  405. }
  406. catch(Exception e)
  407. {
  408. return LuaDLL.toluaL_exception(L, e, o, "attempt to index autoSizeTextContainer on a nil value");
  409. }
  410. }
  411. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  412. static int get_transform(IntPtr L)
  413. {
  414. object o = null;
  415. try
  416. {
  417. o = ToLua.ToObject(L, 1);
  418. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  419. UnityEngine.Transform ret = obj.transform;
  420. ToLua.Push(L, ret);
  421. return 1;
  422. }
  423. catch(Exception e)
  424. {
  425. return LuaDLL.toluaL_exception(L, e, o, "attempt to index transform on a nil value");
  426. }
  427. }
  428. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  429. static int get_renderer(IntPtr L)
  430. {
  431. object o = null;
  432. try
  433. {
  434. o = ToLua.ToObject(L, 1);
  435. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  436. UnityEngine.Renderer ret = obj.renderer;
  437. ToLua.Push(L, ret);
  438. return 1;
  439. }
  440. catch(Exception e)
  441. {
  442. return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderer on a nil value");
  443. }
  444. }
  445. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  446. static int get_mesh(IntPtr L)
  447. {
  448. object o = null;
  449. try
  450. {
  451. o = ToLua.ToObject(L, 1);
  452. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  453. UnityEngine.Mesh ret = obj.mesh;
  454. ToLua.PushSealed(L, ret);
  455. return 1;
  456. }
  457. catch(Exception e)
  458. {
  459. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mesh on a nil value");
  460. }
  461. }
  462. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  463. static int get_meshFilter(IntPtr L)
  464. {
  465. object o = null;
  466. try
  467. {
  468. o = ToLua.ToObject(L, 1);
  469. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  470. UnityEngine.MeshFilter ret = obj.meshFilter;
  471. ToLua.PushSealed(L, ret);
  472. return 1;
  473. }
  474. catch(Exception e)
  475. {
  476. return LuaDLL.toluaL_exception(L, e, o, "attempt to index meshFilter on a nil value");
  477. }
  478. }
  479. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  480. static int get_maskType(IntPtr L)
  481. {
  482. object o = null;
  483. try
  484. {
  485. o = ToLua.ToObject(L, 1);
  486. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  487. TMPro.MaskingTypes ret = obj.maskType;
  488. ToLua.Push(L, ret);
  489. return 1;
  490. }
  491. catch(Exception e)
  492. {
  493. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maskType on a nil value");
  494. }
  495. }
  496. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  497. static int set_sortingLayerID(IntPtr L)
  498. {
  499. object o = null;
  500. try
  501. {
  502. o = ToLua.ToObject(L, 1);
  503. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  504. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  505. obj.sortingLayerID = arg0;
  506. return 0;
  507. }
  508. catch(Exception e)
  509. {
  510. return LuaDLL.toluaL_exception(L, e, o, "attempt to index sortingLayerID on a nil value");
  511. }
  512. }
  513. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  514. static int set_sortingOrder(IntPtr L)
  515. {
  516. object o = null;
  517. try
  518. {
  519. o = ToLua.ToObject(L, 1);
  520. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  521. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  522. obj.sortingOrder = arg0;
  523. return 0;
  524. }
  525. catch(Exception e)
  526. {
  527. return LuaDLL.toluaL_exception(L, e, o, "attempt to index sortingOrder on a nil value");
  528. }
  529. }
  530. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  531. static int set_autoSizeTextContainer(IntPtr L)
  532. {
  533. object o = null;
  534. try
  535. {
  536. o = ToLua.ToObject(L, 1);
  537. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  538. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  539. obj.autoSizeTextContainer = arg0;
  540. return 0;
  541. }
  542. catch(Exception e)
  543. {
  544. return LuaDLL.toluaL_exception(L, e, o, "attempt to index autoSizeTextContainer on a nil value");
  545. }
  546. }
  547. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  548. static int set_maskType(IntPtr L)
  549. {
  550. object o = null;
  551. try
  552. {
  553. o = ToLua.ToObject(L, 1);
  554. TMPro.TextMeshPro obj = (TMPro.TextMeshPro)o;
  555. TMPro.MaskingTypes arg0 = (TMPro.MaskingTypes)ToLua.CheckObject(L, 2, typeof(TMPro.MaskingTypes));
  556. obj.maskType = arg0;
  557. return 0;
  558. }
  559. catch(Exception e)
  560. {
  561. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maskType on a nil value");
  562. }
  563. }
  564. }