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

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

1. 多个模块之间相互嵌套import,导致运行报错 [ 100%]

... void { this.emit('attack'); } } Manager.ts public CreateCat(): void { let self = this; let cat = new Cat(); cat.Create(); cat.on('attack', function () { self.Change(); }); this.animals.push(cat); }   2019-02-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...

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

2. socket大型项目回调 [ 99%]

... } if(this.heartbeatId) { // already in a heartbeat interval return; } var self = this; self.heartbeatId = Laya.timer.once(self.heartbeatInterval,self, function() { self.heartbeatId = null; self.send(obj); self.nextHeartbeatTimeout = Date.now() + self.heartbeatTimeout; self.heartbeatTimeoutId = self...

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

3. Native 在iOS上支付失败的问题,及临时解决方法 [ 94%]

...der_id"]; [dict setObject:sCallbackURL forKey:@"backurl"]; [dict setObject:self.gameAppID forKey:@"gameid"]; NSData* pData = [NSKeyedArchiver archivedDataWithRootObject:dict]; [b]payment.requestData = pData;[/b]苹果官方文档(链接)中有明确提示 requestData参数:  The default value...

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

4. App websocket out of memory [ 91%]

...gt; { }); client.on(PinusWSClientEvent.EVENT_KICK, (event) => { }); let self = this; client.init({host: "192.168.1.218", port: 10000}, () => { }); } 附件 : --> WebsocketTest.zip 2019-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

5. App Updates for HTML5 Apps 这意味着iOS端就废了? [ 88%]

...t they expect on the App Store, we have always specified that apps must be self-contained bundles. This means that the core features and functionality of the app must be contained within the binary of the software, rather than made possible by referring users outside of the approved app, including t...

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

6. 构建app闪退,测试app扫码可以运行 [ 38%]

...e/java_vm_ext.cc:470]   | group="main" sCount=0 dsCount=0 obj=0x12d04940 self=0x8a14c300 2019-03-15 08:45:13.439 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470]   | sysTid=8265 nice=0 cgrp=default sched=0/0 handle=0x897ca920 2019-03-15 08:45:13.439 8214-8265/com.layabox.hello ...

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