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

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

1. console.log看不到打印日志 [ 100%]

console.log看不到打印日志 function LoadResCompleted() { alert("aaaaaaa"); console.log("LoadResCompleted"); Laya.stage.addChild(new LoginView()); console.log("LoadResCompleted11111"); } alert的 aaa能够显示,后面的日志打印看不到 附件 : --> 2018-01-10 添加评论 免费帖 --...

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

2. Tween.to 执行失败 [ 94%]

...行失败  //使精灵走到鼠标位置 function walkToMousePos(sprite){ console.log(Laya.stage.mouseX) ; console.log(Laya.stage.mouseY) ; console.log(sprite.x) ; console.log(sprite.y) ; var hDir = Laya.stage.mouseX>sprite.x? "right" : "left" ; var vDir = Laya.stage.mouseY>sprite.y? "down" :...

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

3. socket.sent [ 93%]

...; } private openHandler(event: any = null): void { //正确建立连接; console.log("建立"+event);//没有写出 } private receiveHandler(msg: any = null): void { ///接收到数据触发函数 console.log("收到"+msg);;//没有写出 console.log(msg);;//没有写出 } private closeHandler(e: ...

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

4. console.log(); ide怎么看? [ 93%]

console.log(); ide怎么看? ide查看不到console.log的输出啊 2018-01-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 liuyao 赞同来自: 知道了,刷新!=重新编译 2018-01-08 0 0 分享 微博 QZO...

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

5. dialog里面的内容怎么不能添加到舞台 [ 92%]

...ood: { skin: 'comp/food' + foodid + '.png' }, food_txt: {text: foodtxt} // console.log(); } } console.log('+++++++++++++++++++') console.log(_super); console.log(fooddata); self.foodList.dataSource = fooddata; console.log(self.foodList.dataSource); console.log(self.foodList._array[0].food); //实例...

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

6. js执行once时如何改变执行域 [ 91%]

...sgCallBack = function () { this.kwxSocket.OnMessageCallBack=function(msg){ console.log("回调"+msg); var dataTemp = JSON.parse(msg); console.log(dataTemp.d); kwxGame.prototype.cardData = dataTemp.d; [b][i]Laya.timer.once(1000, this, this.onOncePiao); [/i][/b] } }在定时器中需要调用外部_pr...

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

7. socket通讯返回数据 [ 91%]

...# } private openHandler(event: any = null): void { //正确建立连接; console.log("建立连接");//***************************************************************************不写出 console.log(event); } private receiveHandler(msg: any = null): void { ///接收到数据触发函数 console.l...

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

8. socket与node服务端连不上?按照官方案例 [ 91%]

... this, errorHandler); function openHandler(event){ //正确建立连接; console.log("链接"); } function receiveHandler(msg){ ///接收到数据触发函数 console.log("接受"); } function closeHandler(e){ //关闭事件 console.log("关闭"); } function errorHandler(e){ //连接出错 console...

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

9. socket无法连接服务器 [ 90%]

...         this.state_ = EConnectionState.eConnected;             console.log("conect to 127.0.0.1");         }         protected _onMessage(msg: any): void {             super._onMessage(msg);             console.log("receve msg : ");             console.log(msg); ...

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

10. Dialog 关闭效果无效 [ 90%]

...ll, this.onCloseEffect, null, true); _proto_.onCloseEffect = function () { console.log("in on close effect") this.close(); } return CommonDlg; })(Laya.Dialog);console.log并未输出任何东西 2017-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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