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

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

1711. libwebsocket [ 57%]

...018-08-21 11:20:31.548226+0800 game_hao[6707:3937898] new JSWebSocket::this=c41bb4a0 deletgate=c425c050 2018-08-21 11:20:31.548618+0800 game_hao[6707:3937898] WebSocket::init m_host: game.example.com, m_port: 6666, m_path: /ws/ [2018/08/21 11:20:31:5503] NOTICE: Initial logging lev...

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

1712. 关于颜色滤镜的问题 [ 57%]

.../R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 1, 0, 0, 0, 0]; //A var balloon = this.balloon = new Laya.Sprite; balloon.loadImage(RES.balloon); balloon.pos(540,70); balloon.filters = [new Laya.ColorFilter(redMat)]; Laya.stage.addChild(balloon); 附件 : --> 2016-05-25 添加评论 免费帖 --> 分享 ...

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

1713. 定时重复执行 [ 57%]

定时重复执行 var y = 0;Laya.timer.loop(1, this, ()=>{      y++; });   如果y=1000时,是不是消耗的时间应该为1秒? 为什么实际上执行的时间大于1秒? 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

1714. Laya.Texture2D.load崩溃问题 [ 57%]

...nnPhongMaterial();   Laya.Texture2D.load("ceshi.jpg", Laya.Handler.create(this, function (texture) { material.albedoTexture = texture; })); 附件 : --> 2020-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 ...

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

1715. 粒子不能缩放? [ 57%]

...d(Sprite3D.load("part.lh")) as Sprite3D; part.once(Event.HIERARCHY_LOADED, this, function():void{        part.transform.localScale = new Vector3(3, 3, 3);  }); 2017-03-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zfree 相关...

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

1716. 陀螺仪与加速计(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 57%]

...;  Laya.stage.addChild(info);     Gyroscope.instance.on(Event.CHANGE, this, onDeviceorientation); }   private function onDeviceorientation(absolute:Boolean, rotationInfo:RotationInfo):void  {  info.text =   "alpha:" + Math.floor(rotationInfo.alpha) + '\n' +  "beta :" + Math.f...

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

1717. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...* 此方法为虚方法,使用时重写覆盖即可 */ onAwake(): void { this.curpos = new Laya.Vector3(); } /** * 第一次执行update之前执行,只会执行一次 * 此方法为虚方法,使用时重写覆盖即可 */ onStart(): void { this.camera = this.owner as Laya.Camera; if (this.tar...

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

1718. 请问下,多个input ,我怎么给他赋值呢,有没有类似jquery的批量处理,还是只能(input1,input2,input3......)一个个的写? [ 57%]

...17-09-12 14:55 有米有实例,给个~~for (var i = 0; i < 10; i++) { this.input.....这里怎么写呢 } wosuxm • 2017-09-12 15:48 ... 命名的时候input1,input2 这样。 let a = [] ; for... { a[i] = this.ui[input+i]; } 大概这个意思 cuixueying • 2017-09-12 17:55 把input存放到...

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

1719. Laya2.6、2.7等支持async、await编译经验分享 [ 57%]

...发布。 FGUI的那个loadLib("libs/rawinflate.js") 记得把最后call(this)改成call(window)。。不然小游戏挂壁   如果正常编译.................    然后这个时候,微信开发者工具运行会爆一个错误跟这个人一样: https://blog.csdn.net/sinat_33184880/article...

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

1720. 动画节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.ani.source = "resources/role.atlas"; //接收动画数据源为图集 this.ani.autoPlay = true; //开启自动播放 this.ani.wrapMode = 0; //播放模式为正序播放模式(POSITIVE) this.ani.interval = 50; //动画...

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