• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 42 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)

31. 深入理解LayaAir引擎架构和实现原理(一)跨平台引擎源码编译 [ 53%]

...yaair IDE的帧属性面板不见了 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? Tween如何实现无限循环...

来源: Laya_社区 发布时间: 20200925

32. 其他(TypeScript-LayaNative原生服务-LayaNative基础文档) [ 53%]

...异常(如网络不稳定),引擎会自动调用到window.onLayaInitError(error)函数,该函数默认在config.js中定义,代码如下: ```javascript window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); alert("加载游戏失败,可能由于您的网络不...

来源: Laya2.0_文档 发布时间: 20210715

33. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 51%]

...Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); this.ske...

来源: Laya2.0_文档 发布时间: 20210715

34. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 50%]

...emplet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skel...

来源: Laya2.0_文档 发布时间: 20210715

35. 求HTTP相关的文档或者例子谢谢了 [ 50%]

...h.events.Event; import flash.events.HTTPStatusEvent; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.events.SecurityErrorEvent; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLRequest; import flash.net.URLRequestMethod; import f...

来源: Laya_社区 发布时间: 20151217

36. 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined [ 50%]

...请把此信息截图给研发商 10-15 16:43:46.702: I/LayaBox(3503): TypeError: Cannot read property 'btCollisionObject' of undefined 10-15 16:43:46.702: I/LayaBox(3503): http://stand.alone.version/libs/laya.d3.js:37260: 10-15 16:43:46.702: I/LayaBox(3503): TypeError: Cannot read property 'btColli...

来源: Laya_社区 发布时间: 20181015

37. 关于LayaBox启动的问题。 [ 46%]

...cant( 4401): [CTRL_IFACE] wlan0: 'SIGNAL_POLL' E/LayaBox (12689): download error: timeout, dt=8,opttimeout=1798 I/LayaBox (12689): Downloaded http://192.168.137.1/public/sh ... tf%40 s=0 l=0 I/LayaBox (12689): onerror UnknownError I/LayaBox (12689): Download [ ]:http://runtime.layabox.com/font/simhe...

来源: Laya_社区 发布时间: 20170320

38. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 43%]

...Close); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Event.ERROR, this, onConnectError); socket.connectByUrl(url); } public function Add(handler:IHandler):void { if(list.indexOf(handler) < 0){ list.push(handler); } } public function Remove(handler:IHandler):void { var index:int=li...

来源: Laya_社区 发布时间: 20170724

39. 只要引入protobuf就会导致连接网络失败 [ 41%]

...ng path, int width, int height, ImageView mImageView, int lodingImage, int errorImageView) { Glide.with(mContext).load(path).override(width, height).placeholder(lodingImage).error(errorImageView).into(mImageView); } 150*****705 • 2018-02-05 15:32 @taofljf:这段代码是加入到MainActivity里面...

来源: Laya_社区 发布时间: 20180205

40. 微信小游戏加载资源问题 [ 38%]

...!= null && callBack.runWith([0, { data: filesListStr }]); } catch (error) { callBack != null && callBack.runWith([1]); } } static setNativeFileDir(value) { MiniFileMgr.fileNativeDir = MiniAdpter.window.wx.env.USER_DATA_PATH + value; } static isUserPath(url){ return url.indexOf(MiniAd...

来源: Laya_社区 发布时间: 20200103