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

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

331. 动画加载不出 [ 58%]

...预加载了,在main函数里面 叔年心~厌世 • 2019-10-10 16:45 for(var i=0;i<this.moneyArr[rr].length;i++){ let sp=new Laya.Animation(); //添加金币 sp.loadAnimation('anis/money.ani'); sp.play(0,true); loadder.addChild(sp); loadder.name = 'money'; sp.pos(this.moneyArr[rr][i],-15); ...

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

332. 如何取消列表自带的滑动效果 [ 58%]

...计模式下,看到点击效果一样. 基本效果已经实现,想用for批量绑定事件 问题状态 最新活动: 2017-09-21 16:41 浏览: 984 关注: 2 人 XiaozeRain • 2017-09-21 19:10 这样的话连滑动都不行了,我只是想要去掉滑动时的那种惯性效果,就是让他只...

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

333. destroy 报错 [ 58%]

destroy 报错 for(let i = 1; i<= this.createCountList[floor] ; i++)             {                 let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D;                 if(floor1)                 {   ...

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

334. 物理形状扫描检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 58%]

...ulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > ![](img/1.png)(图1)

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

335. 给以个对象绑定两个on方法为什么只能执行一次 ? [ 58%]

..."toggleMenu").getChildByName("recharge")//充值         ]         for(var i = 0;i<this.feedBtn.length;i++){                 new BtnFeed(this.feedBtn[i]);           }     } //又给this.myHome对象添加了一个click事件  this.myHome.on(Laya.Event.CLICK,this,this.showM...

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

336. 物理形状扫描检测(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 58%]

...ulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > ![](img/1.png)(图1)

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

337. Mac上面导出Xcode项目,文件损毁 [ 58%]

...amaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts 新建的空项目直接打包出来就这样了。 2020-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

338. destroy 报错 [ 58%]

destroy 报错 for(let i = 1; i<= this.createCountList[floor] ; i++)             {                 let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D;                 if(floor1)                 {   ...

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

339. num安装不成功 [ 58%]

... core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. 让我升级core-js@3 我在命令行输入npm install --save core-js@^3,没报错,不知是否升级成功 Laya...

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

340. UTF8格式通信的问题 [ 58%]

...送Byte类型 官网demo里是对于string类型发送是如下处理: for (var i = 0; i < message.length; ++i) { output.writeByte(message.charCodeAt(i)); } 2. 接收端是nodejs 对于已经utf8转后的应该怎么处理?ws.on('message', function incoming(message) 2016-08-01 添加评论 ...

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