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

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

611. Laya2.1.0 JS调用Java PlatformClass undefined [ 54%]

...:04 非常感谢,可以调用哦 陈嘉昊 • 2019-08-14 15:11 请问下console.log输出的内容如何在android上查看?

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

612. 怎么播放声音? [ 54%]

...com_f); bg_sound.load("res/bg.mp3"); private loadcom_f(e:Laya.Event):void{ console.log("------------------=============") }可是这么写了一户,发现loadcom_f根本就没有被调用,还希望各位能指点一二!!! 谢谢!!! 2016-08-05 添加评论 免费帖 --> 分享 微博 ...

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

613. 编辑模式下定义的变量如何在代码模式下获取啊 [ 54%]

...onStart_getByName = scene.getChildByName('buttonStart'); // 输出:true console.log(buttonStart === buttonStart_getByName); 2019-03-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 mr.dou 相关问题 请问有没有方法能够获...

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

614. 图集资源clearRes清除之后下次再用到load时加载失败 [ 54%]

....ATLAS }],Laya.Handler.create(this,this.Loa,null)); } private Loa():void { console.log("在又有意义有意义有意义有意义有意义有意义有意义有意义"); } public ClearImg(url:string):void { Laya.Loader.clearRes(url); } 2018-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

615. unity 导出scene 子元素的animator 怎么控制? [ 54%]

...   // tt   = animator tt.playbackRate =5  ;       //不会起作用 console.log(tt.currentKeyframeIndex)        //输出为-1                         上述的playbackRate=5   不起作用   , 这是为什么?    另外animator 的控制方法好像很少。 2017-07-18...

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

616. 关于2.0.1版本,rayCastAll方法有bug的问题 [ 54%]

... Array(); this.mainScene.physicsSimulation.rayCastAll(rays[i], hitResult); console.log(rays[i], hitResult); }我注意到2.0.0的时候有人提过这个问题,但是这个bug似乎还是没有得到解决 附件 : --> ray_test_h5.rar 2019-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

617. 关于laya导入require.js的问题 [ 54%]

...Html', 'layaParticle', 'layaTiledmap','layaUi'], function ($){         console.log("引擎库 加载成功"); }); 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折...

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

618. panel的实际高度如何获取 [ 54%]

...属性能得到这个高度 function GetViewHeight(panel:Laya.Component) { console.log("GetViewHeight:"+panel.height); if(panel.height>0) { return panel.height } if(!panel.parent) { return WINSIZE.height } let parent=panel.parent as Laya.Component; return GetViewHeight(parent)-panel.top...

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

619. 如何给loadprogress传参数? [ 54%]

...); /** * 加载进度 */ private loadprogress(data:Array<any>):void{ console.log("加载进度: " + data);//加载进度: param }Laya.Handler的参数完全覆盖掉了loadprogress的加载进度数据 2017-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

620. 鼠标脚本(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 54%]

...须拥有碰撞组件(Collider) //当被鼠标点击 onMouseDown(e){ //console.log("点击到了我box",owner.name); //从父容器销毁我自己 this.owner.removeSelf(); } } ``` > **主类**: ```typescript //给四个猴子添加脚本 this.staticLayaMonkey.addComponent(MouseScript); this.laya...

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