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

大约有 1,013 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

101. 是否支持条件编译? [ 81%]

... 赞同来自: 没有这样的参数,如果想关闭的话可以重写下console里边的log 2017-11-20 0 8 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lilynumber1 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面...

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

102. 网络通信 · LayaAir3.0文档 · LAYABOX [ 81%]

...SS, this, this.processHandler); } private processHandler(data:any): void { console.log("processHandler"); } private errorHandler(error:any): void { console.log("errorHandler"); } private completeHandler(data:any): void { console.log("completeHandler"); } } new LayaSample(); 2.2 GET 上面这个示...

来源: Laya3.0_文档 发布时间: 20230719

103. 字体相关问题 [ 81%]

...04 12:01 还有个问题: Laya.Font.defaultFont="12px,SimHei"; console.log(Laya.Font.defaultFamily); console.log(Laya.Font.defaultFont); let view:ui.TestUI=new ui.TestUI(); Laya.stage.addChild(view); console.log("font",view.lab2.font); 我设置了defaultFont 但是font输出...

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

104. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 81%]

...alse     }     notleft() {         this.isleft = false         console.log(this.isleft);         /**打印是false,但是update还是在执行*/             }     onright(){         this.isright = true         this.isleft =false     }     notright(){         t...

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

105. untiy导出的粒子特效有播放完成的回掉吗? [ 81%]

....Sprite3D.load(url); this.m_Effect.on(Laya.Event.PLAYED, this, function(){ console.log("PLAYED callback!!"); }) this.m_Effect.on(Laya.Event.PAUSED, this, function(){ console.log("PAUSED callback!!"); }) this.m_Effect.on(Laya.Event.COMPLETE, this, function(){ console.log("COM...

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

106. LayaAir 2.0 模糊滤镜与发光滤镜找不到 [ 81%]

...LayaAir 2.0 模糊滤镜与发光滤镜找不到 我再代码里面打印: console.log(Laya.GlowFilter); console.log(Laya.ColorFilter); console.log(Laya.BlurFilter); 只有ColorFilter能找到,其它都是undefine 2019-03-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

107. tab 是否可以做到左右滑动切换view呢? [ 81%]

... : boolean ;     onMouseDown(e : laya.events.Event):void{         console.log("MOUSE_DOWN");         this.on(laya.events.Event.MOUSE_MOVE ,this, this.onMouseMove);         this.onMouseDownX = e.target.mouseX;         this.onMouseDownY = e.target.mouseY;     }     onM...

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

108. websocket连接出错 [ 81%]

...r(app); var io = require('socket.io').listen(server); server.listen(8888); console.log("服务器启动"); io.on('connection', function (ws) { console.log('客户端连接成功!'); ws.on('foo', function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> &l...

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

109. 音频-播放演示 [ 81%]

...mHei", "#FFFFFF", "center"); return btn; } // 播放音效 onPlaySound() { console.log("播放音效"); Laya.SoundManager.playSound("res/sounds/btn.mp3", 1, new Laya.Handler(this, this.onComplete)); } // 播放音乐 onPlayMusic() { console.log("播放音乐"); Laya.SoundManager.playMusic("res/sound...

来源: Laya2.0_示例 发布时间: 20240930

110. 在线急等,发现你们这个编译器一个bug,不能实现负负得正,昨天明明解决了,过了一会又不行了,怎么回事 [ 81%]

...moveDownBall = function(){ this.ball.x -= this.vx; this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.img1 ||this.ball.y + this.vy <= 0) { this.vy = -this.vy; console.log("33333"); } if (this.ball.x + this.v...

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