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

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

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

...ist.splice(index,1); } } public function GetHandler(key:String):IHandler { for(var i:int=0;i<list.length;i+=1) { var handler:IHandler=list.GetHandler(key); if(handler!=null){ return handler; } }  return null; } public function Send(data:String):void { socket.send(data); } private function onSock...

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

172. 关于Tween类多个对象同时缓动的时候过一段时间会不同步 [ 47%]

...执行 private function loadComplete2():void { Laya.stage.addChild(view); for(var i:int=1;i<=7;i++) { var tempItem:ItemUi=new ItemUi() Laya.stage.addChild(tempItem); tempItem.x=i*100; tempItem.y=200; tempItem.setAnimated(true); arr.push(tempItem); // this.playAni(tempItem,new Point(0,-20),0); } }...

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

173. 手机QQ厘米秀GLTF模型使用说明(TypeScript-小游戏适配文档-QQ小游戏) [ 45%]

...w CmShowCharacterStruct(); // gltf 模型资源对象 struct.gltfURL = {}; for (const key in this.gltfFile) { struct.gltfURL[key] = this.gltfFile[key]; } // 个性化配置对象 / 可省略 struct.customConfigURL = "res/self/gltfMode/gltfBin/face.json"; // makeup装扮对象 / 可省略 struct.make...

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

174. Ts简单对象池 [ 44%]

...ift(); GetLenght=():number=>{return this.data.length;} Dispose=()=>{ for(let i in this.data){ Laya.Pool.recover("Dispose",this.data[i]); } } }   2019-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...

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

175. [LayaAirIDE3]Laya3.2.1命令行打包,编译错误也生成成功 [ 44%]

...)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details. engine libs bin://engine/libs/spine-core-3.8.js,bin://engine/libs/laya.bullet.js,bin://engine/libs/laya.box2D.js loadLibs: 63.001220703125 ms initLayaStage: 112.833984375 ms installPackages: 0.740966796875 m...

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

176. lib/arm/liblayaair.so 总是崩溃 [ 42%]

...app/com.yywgames.wpby.cn-1/lib/arm/liblayaair.so (_ZN2v88internal4Heap24PerformGarbageCollectionENS0_16GarbageCollectorENS_15GCCallbackFlagsE+316)         #04 pc 0055bca8  /data/app/com.yywgames.wpby.cn-1/lib/arm/liblayaair.so (_ZN2v88internal4Heap14CollectGarbageENS0_16GarbageCollectorEPKcS4_N...

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

177. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 42%]

...ugmentCodeLocation(err, pos, curSource, id); err.id = id; err.hook = 'transform'; // return pluginContext.error(err); },该方法虽然可以解决 tslib 找不到的问题,并且编译后输出的文件可以正常运行,但是也屏蔽了其他错误,如果代码中有其他错误,最终...

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

178. [LayaNative2.2.0beta4] 无论是否删除或者替换layabox.ttf 都会直接crash 【有demo】 [ 41%]

...  TypeError: Cannot read property 'length' of undefined             for (var i = 0; i < text.length; i++) {                                      ^^                  TypeError: Cannot read property 'length' of undefined         at conchTextCanvas.measureText ...

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

179. 微信小游戏渲染开放域卡顿处理 [ 34%]

...t             };             // 赋值属性             for (let i in param)                 data[i] = param[i];             self.visible = true;             // 检测             var texture = self.$texture;             if (texture) {         ...

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

180. Laya构建App后AndroidStudio中用真机调试模式下运行,App打开了,但是不能打开游戏的问题。 [ 33%]

...1-5431/com.ReleaseTest.Four E/ActivityThread: Failed to find provider info for com.google.settings 06-20 19:10:18.492 5371-5426/com.ReleaseTest.Four W/chromium: [WARNING:data_reduction_proxy_config.cc(318)] SPDY proxy OFF at startup 06-20 19:10:18.494 5371-5371/com.ReleaseTest.Four E/MPlugin: Unsupp...

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