static int Play(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); ToLua_DG_Tweening_Tween obj = (ToLua_DG_Tweening_Tween)ToLua.CheckObject(L, 1, typeof(ToLua_DG_Tweening_Tween)); DG.Tweening.Tween o = obj.Play(); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }