DG_Tweening_TweenWrap.cs 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using DG.Tweening;
  4. using LuaInterface;
  5. public class DG_Tweening_TweenWrap
  6. {
  7. public static void Register(LuaState L)
  8. {
  9. L.BeginClass(typeof(DG.Tweening.Tween), typeof(System.Object));
  10. L.RegFunction("PathLength", PathLength);
  11. L.RegFunction("PathGetDrawPoints", PathGetDrawPoints);
  12. L.RegFunction("PathGetPoint", PathGetPoint);
  13. L.RegFunction("Loops", Loops);
  14. L.RegFunction("IsPlaying", IsPlaying);
  15. L.RegFunction("IsInitialized", IsInitialized);
  16. L.RegFunction("IsComplete", IsComplete);
  17. L.RegFunction("IsBackwards", IsBackwards);
  18. L.RegFunction("IsActive", IsActive);
  19. L.RegFunction("ElapsedDirectionalPercentage", ElapsedDirectionalPercentage);
  20. L.RegFunction("ElapsedPercentage", ElapsedPercentage);
  21. L.RegFunction("Elapsed", Elapsed);
  22. L.RegFunction("Duration", Duration);
  23. L.RegFunction("Delay", Delay);
  24. L.RegFunction("CompletedLoops", CompletedLoops);
  25. L.RegFunction("WaitForStart", WaitForStart);
  26. L.RegFunction("WaitForPosition", WaitForPosition);
  27. L.RegFunction("WaitForElapsedLoops", WaitForElapsedLoops);
  28. L.RegFunction("WaitForKill", WaitForKill);
  29. L.RegFunction("WaitForRewind", WaitForRewind);
  30. L.RegFunction("WaitForCompletion", WaitForCompletion);
  31. L.RegFunction("GotoWaypoint", GotoWaypoint);
  32. L.RegFunction("TogglePause", TogglePause);
  33. L.RegFunction("SmoothRewind", SmoothRewind);
  34. L.RegFunction("Rewind", Rewind);
  35. L.RegFunction("Restart", Restart);
  36. L.RegFunction("PlayForward", PlayForward);
  37. L.RegFunction("PlayBackwards", PlayBackwards);
  38. L.RegFunction("Play", Play);
  39. L.RegFunction("Pause", Pause);
  40. L.RegFunction("Kill", Kill);
  41. L.RegFunction("Goto", Goto);
  42. L.RegFunction("ForceInit", ForceInit);
  43. L.RegFunction("Flip", Flip);
  44. L.RegFunction("Complete", Complete);
  45. L.RegFunction("__tostring", ToLua.op_ToString);
  46. L.RegVar("timeScale", get_timeScale, set_timeScale);
  47. L.RegVar("isBackwards", get_isBackwards, set_isBackwards);
  48. L.RegVar("id", get_id, set_id);
  49. L.RegVar("stringId", get_stringId, set_stringId);
  50. L.RegVar("intId", get_intId, set_intId);
  51. L.RegVar("target", get_target, set_target);
  52. L.RegVar("onPlay", get_onPlay, set_onPlay);
  53. L.RegVar("onPause", get_onPause, set_onPause);
  54. L.RegVar("onRewind", get_onRewind, set_onRewind);
  55. L.RegVar("onUpdate", get_onUpdate, set_onUpdate);
  56. L.RegVar("onStepComplete", get_onStepComplete, set_onStepComplete);
  57. L.RegVar("onComplete", get_onComplete, set_onComplete);
  58. L.RegVar("onKill", get_onKill, set_onKill);
  59. L.RegVar("onWaypointChange", get_onWaypointChange, set_onWaypointChange);
  60. L.RegVar("easeOvershootOrAmplitude", get_easeOvershootOrAmplitude, set_easeOvershootOrAmplitude);
  61. L.RegVar("easePeriod", get_easePeriod, set_easePeriod);
  62. L.RegVar("isRelative", get_isRelative, null);
  63. L.RegVar("active", get_active, null);
  64. L.RegVar("fullPosition", get_fullPosition, set_fullPosition);
  65. L.RegVar("playedOnce", get_playedOnce, null);
  66. L.RegVar("position", get_position, null);
  67. L.EndClass();
  68. }
  69. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  70. static int PathLength(IntPtr L)
  71. {
  72. try
  73. {
  74. ToLua.CheckArgsCount(L, 1);
  75. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  76. float o = obj.PathLength();
  77. LuaDLL.lua_pushnumber(L, o);
  78. return 1;
  79. }
  80. catch (Exception e)
  81. {
  82. return LuaDLL.toluaL_exception(L, e);
  83. }
  84. }
  85. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  86. static int PathGetDrawPoints(IntPtr L)
  87. {
  88. try
  89. {
  90. int count = LuaDLL.lua_gettop(L);
  91. if (count == 1)
  92. {
  93. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  94. UnityEngine.Vector3[] o = obj.PathGetDrawPoints();
  95. ToLua.Push(L, o);
  96. return 1;
  97. }
  98. else if (count == 2)
  99. {
  100. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  101. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  102. UnityEngine.Vector3[] o = obj.PathGetDrawPoints(arg0);
  103. ToLua.Push(L, o);
  104. return 1;
  105. }
  106. else
  107. {
  108. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.PathGetDrawPoints");
  109. }
  110. }
  111. catch (Exception e)
  112. {
  113. return LuaDLL.toluaL_exception(L, e);
  114. }
  115. }
  116. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  117. static int PathGetPoint(IntPtr L)
  118. {
  119. try
  120. {
  121. ToLua.CheckArgsCount(L, 2);
  122. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  123. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  124. UnityEngine.Vector3 o = obj.PathGetPoint(arg0);
  125. ToLua.Push(L, o);
  126. return 1;
  127. }
  128. catch (Exception e)
  129. {
  130. return LuaDLL.toluaL_exception(L, e);
  131. }
  132. }
  133. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  134. static int Loops(IntPtr L)
  135. {
  136. try
  137. {
  138. ToLua.CheckArgsCount(L, 1);
  139. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  140. int o = obj.Loops();
  141. LuaDLL.lua_pushinteger(L, o);
  142. return 1;
  143. }
  144. catch (Exception e)
  145. {
  146. return LuaDLL.toluaL_exception(L, e);
  147. }
  148. }
  149. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  150. static int IsPlaying(IntPtr L)
  151. {
  152. try
  153. {
  154. ToLua.CheckArgsCount(L, 1);
  155. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  156. bool o = obj.IsPlaying();
  157. LuaDLL.lua_pushboolean(L, o);
  158. return 1;
  159. }
  160. catch (Exception e)
  161. {
  162. return LuaDLL.toluaL_exception(L, e);
  163. }
  164. }
  165. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  166. static int IsInitialized(IntPtr L)
  167. {
  168. try
  169. {
  170. ToLua.CheckArgsCount(L, 1);
  171. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  172. bool o = obj.IsInitialized();
  173. LuaDLL.lua_pushboolean(L, o);
  174. return 1;
  175. }
  176. catch (Exception e)
  177. {
  178. return LuaDLL.toluaL_exception(L, e);
  179. }
  180. }
  181. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  182. static int IsComplete(IntPtr L)
  183. {
  184. try
  185. {
  186. ToLua.CheckArgsCount(L, 1);
  187. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  188. bool o = obj.IsComplete();
  189. LuaDLL.lua_pushboolean(L, o);
  190. return 1;
  191. }
  192. catch (Exception e)
  193. {
  194. return LuaDLL.toluaL_exception(L, e);
  195. }
  196. }
  197. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  198. static int IsBackwards(IntPtr L)
  199. {
  200. try
  201. {
  202. ToLua.CheckArgsCount(L, 1);
  203. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  204. bool o = obj.IsBackwards();
  205. LuaDLL.lua_pushboolean(L, o);
  206. return 1;
  207. }
  208. catch (Exception e)
  209. {
  210. return LuaDLL.toluaL_exception(L, e);
  211. }
  212. }
  213. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  214. static int IsActive(IntPtr L)
  215. {
  216. try
  217. {
  218. ToLua.CheckArgsCount(L, 1);
  219. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  220. bool o = obj.IsActive();
  221. LuaDLL.lua_pushboolean(L, o);
  222. return 1;
  223. }
  224. catch (Exception e)
  225. {
  226. return LuaDLL.toluaL_exception(L, e);
  227. }
  228. }
  229. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  230. static int ElapsedDirectionalPercentage(IntPtr L)
  231. {
  232. try
  233. {
  234. ToLua.CheckArgsCount(L, 1);
  235. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  236. float o = obj.ElapsedDirectionalPercentage();
  237. LuaDLL.lua_pushnumber(L, o);
  238. return 1;
  239. }
  240. catch (Exception e)
  241. {
  242. return LuaDLL.toluaL_exception(L, e);
  243. }
  244. }
  245. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  246. static int ElapsedPercentage(IntPtr L)
  247. {
  248. try
  249. {
  250. int count = LuaDLL.lua_gettop(L);
  251. if (count == 1)
  252. {
  253. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  254. float o = obj.ElapsedPercentage();
  255. LuaDLL.lua_pushnumber(L, o);
  256. return 1;
  257. }
  258. else if (count == 2)
  259. {
  260. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  261. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  262. float o = obj.ElapsedPercentage(arg0);
  263. LuaDLL.lua_pushnumber(L, o);
  264. return 1;
  265. }
  266. else
  267. {
  268. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.ElapsedPercentage");
  269. }
  270. }
  271. catch (Exception e)
  272. {
  273. return LuaDLL.toluaL_exception(L, e);
  274. }
  275. }
  276. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  277. static int Elapsed(IntPtr L)
  278. {
  279. try
  280. {
  281. int count = LuaDLL.lua_gettop(L);
  282. if (count == 1)
  283. {
  284. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  285. float o = obj.Elapsed();
  286. LuaDLL.lua_pushnumber(L, o);
  287. return 1;
  288. }
  289. else if (count == 2)
  290. {
  291. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  292. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  293. float o = obj.Elapsed(arg0);
  294. LuaDLL.lua_pushnumber(L, o);
  295. return 1;
  296. }
  297. else
  298. {
  299. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Elapsed");
  300. }
  301. }
  302. catch (Exception e)
  303. {
  304. return LuaDLL.toluaL_exception(L, e);
  305. }
  306. }
  307. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  308. static int Duration(IntPtr L)
  309. {
  310. try
  311. {
  312. int count = LuaDLL.lua_gettop(L);
  313. if (count == 1)
  314. {
  315. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  316. float o = obj.Duration();
  317. LuaDLL.lua_pushnumber(L, o);
  318. return 1;
  319. }
  320. else if (count == 2)
  321. {
  322. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  323. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  324. float o = obj.Duration(arg0);
  325. LuaDLL.lua_pushnumber(L, o);
  326. return 1;
  327. }
  328. else
  329. {
  330. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Duration");
  331. }
  332. }
  333. catch (Exception e)
  334. {
  335. return LuaDLL.toluaL_exception(L, e);
  336. }
  337. }
  338. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  339. static int Delay(IntPtr L)
  340. {
  341. try
  342. {
  343. ToLua.CheckArgsCount(L, 1);
  344. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  345. float o = obj.Delay();
  346. LuaDLL.lua_pushnumber(L, o);
  347. return 1;
  348. }
  349. catch (Exception e)
  350. {
  351. return LuaDLL.toluaL_exception(L, e);
  352. }
  353. }
  354. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  355. static int CompletedLoops(IntPtr L)
  356. {
  357. try
  358. {
  359. ToLua.CheckArgsCount(L, 1);
  360. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  361. int o = obj.CompletedLoops();
  362. LuaDLL.lua_pushinteger(L, o);
  363. return 1;
  364. }
  365. catch (Exception e)
  366. {
  367. return LuaDLL.toluaL_exception(L, e);
  368. }
  369. }
  370. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  371. static int WaitForStart(IntPtr L)
  372. {
  373. try
  374. {
  375. ToLua.CheckArgsCount(L, 1);
  376. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  377. UnityEngine.Coroutine o = obj.WaitForStart();
  378. ToLua.PushSealed(L, o);
  379. return 1;
  380. }
  381. catch (Exception e)
  382. {
  383. return LuaDLL.toluaL_exception(L, e);
  384. }
  385. }
  386. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  387. static int WaitForPosition(IntPtr L)
  388. {
  389. try
  390. {
  391. ToLua.CheckArgsCount(L, 2);
  392. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  393. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  394. UnityEngine.YieldInstruction o = obj.WaitForPosition(arg0);
  395. ToLua.PushObject(L, o);
  396. return 1;
  397. }
  398. catch (Exception e)
  399. {
  400. return LuaDLL.toluaL_exception(L, e);
  401. }
  402. }
  403. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  404. static int WaitForElapsedLoops(IntPtr L)
  405. {
  406. try
  407. {
  408. ToLua.CheckArgsCount(L, 2);
  409. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  410. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  411. UnityEngine.YieldInstruction o = obj.WaitForElapsedLoops(arg0);
  412. ToLua.PushObject(L, o);
  413. return 1;
  414. }
  415. catch (Exception e)
  416. {
  417. return LuaDLL.toluaL_exception(L, e);
  418. }
  419. }
  420. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  421. static int WaitForKill(IntPtr L)
  422. {
  423. try
  424. {
  425. ToLua.CheckArgsCount(L, 1);
  426. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  427. UnityEngine.YieldInstruction o = obj.WaitForKill();
  428. ToLua.PushObject(L, o);
  429. return 1;
  430. }
  431. catch (Exception e)
  432. {
  433. return LuaDLL.toluaL_exception(L, e);
  434. }
  435. }
  436. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  437. static int WaitForRewind(IntPtr L)
  438. {
  439. try
  440. {
  441. ToLua.CheckArgsCount(L, 1);
  442. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  443. UnityEngine.YieldInstruction o = obj.WaitForRewind();
  444. ToLua.PushObject(L, o);
  445. return 1;
  446. }
  447. catch (Exception e)
  448. {
  449. return LuaDLL.toluaL_exception(L, e);
  450. }
  451. }
  452. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  453. static int WaitForCompletion(IntPtr L)
  454. {
  455. try
  456. {
  457. ToLua.CheckArgsCount(L, 1);
  458. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  459. UnityEngine.YieldInstruction o = obj.WaitForCompletion();
  460. ToLua.PushObject(L, o);
  461. return 1;
  462. }
  463. catch (Exception e)
  464. {
  465. return LuaDLL.toluaL_exception(L, e);
  466. }
  467. }
  468. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  469. static int GotoWaypoint(IntPtr L)
  470. {
  471. try
  472. {
  473. int count = LuaDLL.lua_gettop(L);
  474. if (count == 2)
  475. {
  476. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  477. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  478. obj.GotoWaypoint(arg0);
  479. return 0;
  480. }
  481. else if (count == 3)
  482. {
  483. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  484. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  485. bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
  486. obj.GotoWaypoint(arg0, arg1);
  487. return 0;
  488. }
  489. else
  490. {
  491. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.GotoWaypoint");
  492. }
  493. }
  494. catch (Exception e)
  495. {
  496. return LuaDLL.toluaL_exception(L, e);
  497. }
  498. }
  499. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  500. static int TogglePause(IntPtr L)
  501. {
  502. try
  503. {
  504. ToLua.CheckArgsCount(L, 1);
  505. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  506. obj.TogglePause();
  507. return 0;
  508. }
  509. catch (Exception e)
  510. {
  511. return LuaDLL.toluaL_exception(L, e);
  512. }
  513. }
  514. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  515. static int SmoothRewind(IntPtr L)
  516. {
  517. try
  518. {
  519. ToLua.CheckArgsCount(L, 1);
  520. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  521. obj.SmoothRewind();
  522. return 0;
  523. }
  524. catch (Exception e)
  525. {
  526. return LuaDLL.toluaL_exception(L, e);
  527. }
  528. }
  529. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  530. static int Rewind(IntPtr L)
  531. {
  532. try
  533. {
  534. int count = LuaDLL.lua_gettop(L);
  535. if (count == 1)
  536. {
  537. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  538. obj.Rewind();
  539. return 0;
  540. }
  541. else if (count == 2)
  542. {
  543. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  544. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  545. obj.Rewind(arg0);
  546. return 0;
  547. }
  548. else
  549. {
  550. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Rewind");
  551. }
  552. }
  553. catch (Exception e)
  554. {
  555. return LuaDLL.toluaL_exception(L, e);
  556. }
  557. }
  558. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  559. static int Restart(IntPtr L)
  560. {
  561. try
  562. {
  563. int count = LuaDLL.lua_gettop(L);
  564. if (count == 1)
  565. {
  566. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  567. obj.Restart();
  568. return 0;
  569. }
  570. else if (count == 2)
  571. {
  572. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  573. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  574. obj.Restart(arg0);
  575. return 0;
  576. }
  577. else if (count == 3)
  578. {
  579. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  580. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  581. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  582. obj.Restart(arg0, arg1);
  583. return 0;
  584. }
  585. else
  586. {
  587. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Restart");
  588. }
  589. }
  590. catch (Exception e)
  591. {
  592. return LuaDLL.toluaL_exception(L, e);
  593. }
  594. }
  595. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  596. static int PlayForward(IntPtr L)
  597. {
  598. try
  599. {
  600. ToLua.CheckArgsCount(L, 1);
  601. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  602. obj.PlayForward();
  603. return 0;
  604. }
  605. catch (Exception e)
  606. {
  607. return LuaDLL.toluaL_exception(L, e);
  608. }
  609. }
  610. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  611. static int PlayBackwards(IntPtr L)
  612. {
  613. try
  614. {
  615. ToLua.CheckArgsCount(L, 1);
  616. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  617. obj.PlayBackwards();
  618. return 0;
  619. }
  620. catch (Exception e)
  621. {
  622. return LuaDLL.toluaL_exception(L, e);
  623. }
  624. }
  625. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  626. static int Play(IntPtr L)
  627. {
  628. try
  629. {
  630. ToLua.CheckArgsCount(L, 1);
  631. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  632. DG.Tweening.Tween o = obj.Play();
  633. ToLua.PushObject(L, o);
  634. return 1;
  635. }
  636. catch (Exception e)
  637. {
  638. return LuaDLL.toluaL_exception(L, e);
  639. }
  640. }
  641. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  642. static int Pause(IntPtr L)
  643. {
  644. try
  645. {
  646. ToLua.CheckArgsCount(L, 1);
  647. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  648. DG.Tweening.Tween o = obj.Pause();
  649. ToLua.PushObject(L, o);
  650. return 1;
  651. }
  652. catch (Exception e)
  653. {
  654. return LuaDLL.toluaL_exception(L, e);
  655. }
  656. }
  657. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  658. static int Kill(IntPtr L)
  659. {
  660. try
  661. {
  662. int count = LuaDLL.lua_gettop(L);
  663. if (count == 1)
  664. {
  665. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  666. obj.Kill();
  667. return 0;
  668. }
  669. else if (count == 2)
  670. {
  671. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  672. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  673. obj.Kill(arg0);
  674. return 0;
  675. }
  676. else
  677. {
  678. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Kill");
  679. }
  680. }
  681. catch (Exception e)
  682. {
  683. return LuaDLL.toluaL_exception(L, e);
  684. }
  685. }
  686. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  687. static int Goto(IntPtr L)
  688. {
  689. try
  690. {
  691. int count = LuaDLL.lua_gettop(L);
  692. if (count == 2)
  693. {
  694. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  695. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  696. obj.Goto(arg0);
  697. return 0;
  698. }
  699. else if (count == 3)
  700. {
  701. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  702. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  703. bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
  704. obj.Goto(arg0, arg1);
  705. return 0;
  706. }
  707. else
  708. {
  709. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Goto");
  710. }
  711. }
  712. catch (Exception e)
  713. {
  714. return LuaDLL.toluaL_exception(L, e);
  715. }
  716. }
  717. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  718. static int ForceInit(IntPtr L)
  719. {
  720. try
  721. {
  722. ToLua.CheckArgsCount(L, 1);
  723. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  724. obj.ForceInit();
  725. return 0;
  726. }
  727. catch (Exception e)
  728. {
  729. return LuaDLL.toluaL_exception(L, e);
  730. }
  731. }
  732. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  733. static int Flip(IntPtr L)
  734. {
  735. try
  736. {
  737. ToLua.CheckArgsCount(L, 1);
  738. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  739. obj.Flip();
  740. return 0;
  741. }
  742. catch (Exception e)
  743. {
  744. return LuaDLL.toluaL_exception(L, e);
  745. }
  746. }
  747. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  748. static int Complete(IntPtr L)
  749. {
  750. try
  751. {
  752. int count = LuaDLL.lua_gettop(L);
  753. if (count == 1)
  754. {
  755. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  756. obj.Complete();
  757. return 0;
  758. }
  759. else if (count == 2)
  760. {
  761. DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject<DG.Tweening.Tween>(L, 1);
  762. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  763. obj.Complete(arg0);
  764. return 0;
  765. }
  766. else
  767. {
  768. return LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Complete");
  769. }
  770. }
  771. catch (Exception e)
  772. {
  773. return LuaDLL.toluaL_exception(L, e);
  774. }
  775. }
  776. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  777. static int get_timeScale(IntPtr L)
  778. {
  779. object o = null;
  780. try
  781. {
  782. o = ToLua.ToObject(L, 1);
  783. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  784. float ret = obj.timeScale;
  785. LuaDLL.lua_pushnumber(L, ret);
  786. return 1;
  787. }
  788. catch(Exception e)
  789. {
  790. return LuaDLL.toluaL_exception(L, e, o, "attempt to index timeScale on a nil value");
  791. }
  792. }
  793. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  794. static int get_isBackwards(IntPtr L)
  795. {
  796. object o = null;
  797. try
  798. {
  799. o = ToLua.ToObject(L, 1);
  800. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  801. bool ret = obj.isBackwards;
  802. LuaDLL.lua_pushboolean(L, ret);
  803. return 1;
  804. }
  805. catch(Exception e)
  806. {
  807. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isBackwards on a nil value");
  808. }
  809. }
  810. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  811. static int get_id(IntPtr L)
  812. {
  813. object o = null;
  814. try
  815. {
  816. o = ToLua.ToObject(L, 1);
  817. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  818. object ret = obj.id;
  819. ToLua.Push(L, ret);
  820. return 1;
  821. }
  822. catch(Exception e)
  823. {
  824. return LuaDLL.toluaL_exception(L, e, o, "attempt to index id on a nil value");
  825. }
  826. }
  827. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  828. static int get_stringId(IntPtr L)
  829. {
  830. object o = null;
  831. try
  832. {
  833. o = ToLua.ToObject(L, 1);
  834. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  835. string ret = obj.stringId;
  836. LuaDLL.lua_pushstring(L, ret);
  837. return 1;
  838. }
  839. catch(Exception e)
  840. {
  841. return LuaDLL.toluaL_exception(L, e, o, "attempt to index stringId on a nil value");
  842. }
  843. }
  844. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  845. static int get_intId(IntPtr L)
  846. {
  847. object o = null;
  848. try
  849. {
  850. o = ToLua.ToObject(L, 1);
  851. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  852. int ret = obj.intId;
  853. LuaDLL.lua_pushinteger(L, ret);
  854. return 1;
  855. }
  856. catch(Exception e)
  857. {
  858. return LuaDLL.toluaL_exception(L, e, o, "attempt to index intId on a nil value");
  859. }
  860. }
  861. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  862. static int get_target(IntPtr L)
  863. {
  864. object o = null;
  865. try
  866. {
  867. o = ToLua.ToObject(L, 1);
  868. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  869. object ret = obj.target;
  870. ToLua.Push(L, ret);
  871. return 1;
  872. }
  873. catch(Exception e)
  874. {
  875. return LuaDLL.toluaL_exception(L, e, o, "attempt to index target on a nil value");
  876. }
  877. }
  878. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  879. static int get_onPlay(IntPtr L)
  880. {
  881. object o = null;
  882. try
  883. {
  884. o = ToLua.ToObject(L, 1);
  885. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  886. DG.Tweening.TweenCallback ret = obj.onPlay;
  887. ToLua.Push(L, ret);
  888. return 1;
  889. }
  890. catch(Exception e)
  891. {
  892. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onPlay on a nil value");
  893. }
  894. }
  895. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  896. static int get_onPause(IntPtr L)
  897. {
  898. object o = null;
  899. try
  900. {
  901. o = ToLua.ToObject(L, 1);
  902. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  903. DG.Tweening.TweenCallback ret = obj.onPause;
  904. ToLua.Push(L, ret);
  905. return 1;
  906. }
  907. catch(Exception e)
  908. {
  909. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onPause on a nil value");
  910. }
  911. }
  912. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  913. static int get_onRewind(IntPtr L)
  914. {
  915. object o = null;
  916. try
  917. {
  918. o = ToLua.ToObject(L, 1);
  919. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  920. DG.Tweening.TweenCallback ret = obj.onRewind;
  921. ToLua.Push(L, ret);
  922. return 1;
  923. }
  924. catch(Exception e)
  925. {
  926. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onRewind on a nil value");
  927. }
  928. }
  929. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  930. static int get_onUpdate(IntPtr L)
  931. {
  932. object o = null;
  933. try
  934. {
  935. o = ToLua.ToObject(L, 1);
  936. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  937. DG.Tweening.TweenCallback ret = obj.onUpdate;
  938. ToLua.Push(L, ret);
  939. return 1;
  940. }
  941. catch(Exception e)
  942. {
  943. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onUpdate on a nil value");
  944. }
  945. }
  946. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  947. static int get_onStepComplete(IntPtr L)
  948. {
  949. object o = null;
  950. try
  951. {
  952. o = ToLua.ToObject(L, 1);
  953. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  954. DG.Tweening.TweenCallback ret = obj.onStepComplete;
  955. ToLua.Push(L, ret);
  956. return 1;
  957. }
  958. catch(Exception e)
  959. {
  960. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onStepComplete on a nil value");
  961. }
  962. }
  963. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  964. static int get_onComplete(IntPtr L)
  965. {
  966. object o = null;
  967. try
  968. {
  969. o = ToLua.ToObject(L, 1);
  970. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  971. DG.Tweening.TweenCallback ret = obj.onComplete;
  972. ToLua.Push(L, ret);
  973. return 1;
  974. }
  975. catch(Exception e)
  976. {
  977. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onComplete on a nil value");
  978. }
  979. }
  980. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  981. static int get_onKill(IntPtr L)
  982. {
  983. object o = null;
  984. try
  985. {
  986. o = ToLua.ToObject(L, 1);
  987. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  988. DG.Tweening.TweenCallback ret = obj.onKill;
  989. ToLua.Push(L, ret);
  990. return 1;
  991. }
  992. catch(Exception e)
  993. {
  994. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onKill on a nil value");
  995. }
  996. }
  997. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  998. static int get_onWaypointChange(IntPtr L)
  999. {
  1000. object o = null;
  1001. try
  1002. {
  1003. o = ToLua.ToObject(L, 1);
  1004. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1005. DG.Tweening.TweenCallback<int> ret = obj.onWaypointChange;
  1006. ToLua.Push(L, ret);
  1007. return 1;
  1008. }
  1009. catch(Exception e)
  1010. {
  1011. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onWaypointChange on a nil value");
  1012. }
  1013. }
  1014. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1015. static int get_easeOvershootOrAmplitude(IntPtr L)
  1016. {
  1017. object o = null;
  1018. try
  1019. {
  1020. o = ToLua.ToObject(L, 1);
  1021. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1022. float ret = obj.easeOvershootOrAmplitude;
  1023. LuaDLL.lua_pushnumber(L, ret);
  1024. return 1;
  1025. }
  1026. catch(Exception e)
  1027. {
  1028. return LuaDLL.toluaL_exception(L, e, o, "attempt to index easeOvershootOrAmplitude on a nil value");
  1029. }
  1030. }
  1031. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1032. static int get_easePeriod(IntPtr L)
  1033. {
  1034. object o = null;
  1035. try
  1036. {
  1037. o = ToLua.ToObject(L, 1);
  1038. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1039. float ret = obj.easePeriod;
  1040. LuaDLL.lua_pushnumber(L, ret);
  1041. return 1;
  1042. }
  1043. catch(Exception e)
  1044. {
  1045. return LuaDLL.toluaL_exception(L, e, o, "attempt to index easePeriod on a nil value");
  1046. }
  1047. }
  1048. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1049. static int get_isRelative(IntPtr L)
  1050. {
  1051. object o = null;
  1052. try
  1053. {
  1054. o = ToLua.ToObject(L, 1);
  1055. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1056. bool ret = obj.isRelative;
  1057. LuaDLL.lua_pushboolean(L, ret);
  1058. return 1;
  1059. }
  1060. catch(Exception e)
  1061. {
  1062. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isRelative on a nil value");
  1063. }
  1064. }
  1065. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1066. static int get_active(IntPtr L)
  1067. {
  1068. object o = null;
  1069. try
  1070. {
  1071. o = ToLua.ToObject(L, 1);
  1072. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1073. bool ret = obj.active;
  1074. LuaDLL.lua_pushboolean(L, ret);
  1075. return 1;
  1076. }
  1077. catch(Exception e)
  1078. {
  1079. return LuaDLL.toluaL_exception(L, e, o, "attempt to index active on a nil value");
  1080. }
  1081. }
  1082. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1083. static int get_fullPosition(IntPtr L)
  1084. {
  1085. object o = null;
  1086. try
  1087. {
  1088. o = ToLua.ToObject(L, 1);
  1089. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1090. float ret = obj.fullPosition;
  1091. LuaDLL.lua_pushnumber(L, ret);
  1092. return 1;
  1093. }
  1094. catch(Exception e)
  1095. {
  1096. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fullPosition on a nil value");
  1097. }
  1098. }
  1099. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1100. static int get_playedOnce(IntPtr L)
  1101. {
  1102. object o = null;
  1103. try
  1104. {
  1105. o = ToLua.ToObject(L, 1);
  1106. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1107. bool ret = obj.playedOnce;
  1108. LuaDLL.lua_pushboolean(L, ret);
  1109. return 1;
  1110. }
  1111. catch(Exception e)
  1112. {
  1113. return LuaDLL.toluaL_exception(L, e, o, "attempt to index playedOnce on a nil value");
  1114. }
  1115. }
  1116. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1117. static int get_position(IntPtr L)
  1118. {
  1119. object o = null;
  1120. try
  1121. {
  1122. o = ToLua.ToObject(L, 1);
  1123. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1124. float ret = obj.position;
  1125. LuaDLL.lua_pushnumber(L, ret);
  1126. return 1;
  1127. }
  1128. catch(Exception e)
  1129. {
  1130. return LuaDLL.toluaL_exception(L, e, o, "attempt to index position on a nil value");
  1131. }
  1132. }
  1133. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1134. static int set_timeScale(IntPtr L)
  1135. {
  1136. object o = null;
  1137. try
  1138. {
  1139. o = ToLua.ToObject(L, 1);
  1140. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1141. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  1142. obj.timeScale = arg0;
  1143. return 0;
  1144. }
  1145. catch(Exception e)
  1146. {
  1147. return LuaDLL.toluaL_exception(L, e, o, "attempt to index timeScale on a nil value");
  1148. }
  1149. }
  1150. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1151. static int set_isBackwards(IntPtr L)
  1152. {
  1153. object o = null;
  1154. try
  1155. {
  1156. o = ToLua.ToObject(L, 1);
  1157. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1158. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  1159. obj.isBackwards = arg0;
  1160. return 0;
  1161. }
  1162. catch(Exception e)
  1163. {
  1164. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isBackwards on a nil value");
  1165. }
  1166. }
  1167. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1168. static int set_id(IntPtr L)
  1169. {
  1170. object o = null;
  1171. try
  1172. {
  1173. o = ToLua.ToObject(L, 1);
  1174. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1175. object arg0 = ToLua.ToVarObject(L, 2);
  1176. obj.id = arg0;
  1177. return 0;
  1178. }
  1179. catch(Exception e)
  1180. {
  1181. return LuaDLL.toluaL_exception(L, e, o, "attempt to index id on a nil value");
  1182. }
  1183. }
  1184. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1185. static int set_stringId(IntPtr L)
  1186. {
  1187. object o = null;
  1188. try
  1189. {
  1190. o = ToLua.ToObject(L, 1);
  1191. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1192. string arg0 = ToLua.CheckString(L, 2);
  1193. obj.stringId = arg0;
  1194. return 0;
  1195. }
  1196. catch(Exception e)
  1197. {
  1198. return LuaDLL.toluaL_exception(L, e, o, "attempt to index stringId on a nil value");
  1199. }
  1200. }
  1201. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1202. static int set_intId(IntPtr L)
  1203. {
  1204. object o = null;
  1205. try
  1206. {
  1207. o = ToLua.ToObject(L, 1);
  1208. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1209. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  1210. obj.intId = arg0;
  1211. return 0;
  1212. }
  1213. catch(Exception e)
  1214. {
  1215. return LuaDLL.toluaL_exception(L, e, o, "attempt to index intId on a nil value");
  1216. }
  1217. }
  1218. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1219. static int set_target(IntPtr L)
  1220. {
  1221. object o = null;
  1222. try
  1223. {
  1224. o = ToLua.ToObject(L, 1);
  1225. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1226. object arg0 = ToLua.ToVarObject(L, 2);
  1227. obj.target = arg0;
  1228. return 0;
  1229. }
  1230. catch(Exception e)
  1231. {
  1232. return LuaDLL.toluaL_exception(L, e, o, "attempt to index target on a nil value");
  1233. }
  1234. }
  1235. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1236. static int set_onPlay(IntPtr L)
  1237. {
  1238. object o = null;
  1239. try
  1240. {
  1241. o = ToLua.ToObject(L, 1);
  1242. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1243. DG.Tweening.TweenCallback arg0 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate<DG.Tweening.TweenCallback>(L, 2);
  1244. obj.onPlay = arg0;
  1245. return 0;
  1246. }
  1247. catch(Exception e)
  1248. {
  1249. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onPlay on a nil value");
  1250. }
  1251. }
  1252. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1253. static int set_onPause(IntPtr L)
  1254. {
  1255. object o = null;
  1256. try
  1257. {
  1258. o = ToLua.ToObject(L, 1);
  1259. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1260. DG.Tweening.TweenCallback arg0 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate<DG.Tweening.TweenCallback>(L, 2);
  1261. obj.onPause = arg0;
  1262. return 0;
  1263. }
  1264. catch(Exception e)
  1265. {
  1266. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onPause on a nil value");
  1267. }
  1268. }
  1269. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1270. static int set_onRewind(IntPtr L)
  1271. {
  1272. object o = null;
  1273. try
  1274. {
  1275. o = ToLua.ToObject(L, 1);
  1276. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1277. DG.Tweening.TweenCallback arg0 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate<DG.Tweening.TweenCallback>(L, 2);
  1278. obj.onRewind = arg0;
  1279. return 0;
  1280. }
  1281. catch(Exception e)
  1282. {
  1283. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onRewind on a nil value");
  1284. }
  1285. }
  1286. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1287. static int set_onUpdate(IntPtr L)
  1288. {
  1289. object o = null;
  1290. try
  1291. {
  1292. o = ToLua.ToObject(L, 1);
  1293. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1294. DG.Tweening.TweenCallback arg0 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate<DG.Tweening.TweenCallback>(L, 2);
  1295. obj.onUpdate = arg0;
  1296. return 0;
  1297. }
  1298. catch(Exception e)
  1299. {
  1300. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onUpdate on a nil value");
  1301. }
  1302. }
  1303. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1304. static int set_onStepComplete(IntPtr L)
  1305. {
  1306. object o = null;
  1307. try
  1308. {
  1309. o = ToLua.ToObject(L, 1);
  1310. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1311. DG.Tweening.TweenCallback arg0 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate<DG.Tweening.TweenCallback>(L, 2);
  1312. obj.onStepComplete = arg0;
  1313. return 0;
  1314. }
  1315. catch(Exception e)
  1316. {
  1317. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onStepComplete on a nil value");
  1318. }
  1319. }
  1320. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1321. static int set_onComplete(IntPtr L)
  1322. {
  1323. object o = null;
  1324. try
  1325. {
  1326. o = ToLua.ToObject(L, 1);
  1327. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1328. DG.Tweening.TweenCallback arg0 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate<DG.Tweening.TweenCallback>(L, 2);
  1329. obj.onComplete = arg0;
  1330. return 0;
  1331. }
  1332. catch(Exception e)
  1333. {
  1334. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onComplete on a nil value");
  1335. }
  1336. }
  1337. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1338. static int set_onKill(IntPtr L)
  1339. {
  1340. object o = null;
  1341. try
  1342. {
  1343. o = ToLua.ToObject(L, 1);
  1344. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1345. DG.Tweening.TweenCallback arg0 = (DG.Tweening.TweenCallback)ToLua.CheckDelegate<DG.Tweening.TweenCallback>(L, 2);
  1346. obj.onKill = arg0;
  1347. return 0;
  1348. }
  1349. catch(Exception e)
  1350. {
  1351. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onKill on a nil value");
  1352. }
  1353. }
  1354. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1355. static int set_onWaypointChange(IntPtr L)
  1356. {
  1357. object o = null;
  1358. try
  1359. {
  1360. o = ToLua.ToObject(L, 1);
  1361. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1362. DG.Tweening.TweenCallback<int> arg0 = (DG.Tweening.TweenCallback<int>)ToLua.CheckDelegate<DG.Tweening.TweenCallback<int>>(L, 2);
  1363. obj.onWaypointChange = arg0;
  1364. return 0;
  1365. }
  1366. catch(Exception e)
  1367. {
  1368. return LuaDLL.toluaL_exception(L, e, o, "attempt to index onWaypointChange on a nil value");
  1369. }
  1370. }
  1371. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1372. static int set_easeOvershootOrAmplitude(IntPtr L)
  1373. {
  1374. object o = null;
  1375. try
  1376. {
  1377. o = ToLua.ToObject(L, 1);
  1378. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1379. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  1380. obj.easeOvershootOrAmplitude = arg0;
  1381. return 0;
  1382. }
  1383. catch(Exception e)
  1384. {
  1385. return LuaDLL.toluaL_exception(L, e, o, "attempt to index easeOvershootOrAmplitude on a nil value");
  1386. }
  1387. }
  1388. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1389. static int set_easePeriod(IntPtr L)
  1390. {
  1391. object o = null;
  1392. try
  1393. {
  1394. o = ToLua.ToObject(L, 1);
  1395. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1396. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  1397. obj.easePeriod = arg0;
  1398. return 0;
  1399. }
  1400. catch(Exception e)
  1401. {
  1402. return LuaDLL.toluaL_exception(L, e, o, "attempt to index easePeriod on a nil value");
  1403. }
  1404. }
  1405. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1406. static int set_fullPosition(IntPtr L)
  1407. {
  1408. object o = null;
  1409. try
  1410. {
  1411. o = ToLua.ToObject(L, 1);
  1412. DG.Tweening.Tween obj = (DG.Tweening.Tween)o;
  1413. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  1414. obj.fullPosition = arg0;
  1415. return 0;
  1416. }
  1417. catch(Exception e)
  1418. {
  1419. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fullPosition on a nil value");
  1420. }
  1421. }
  1422. }