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

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

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

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

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

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

... 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

613. [LayaAir3]3.3.4native打包的APP,启动后闪退 [ 55%]

...于apk打包动画卡的问题 web端打包发布后能不能自动删除console.log 启动引擎报错 mPlugin.game_plugin_init(3); 问题状态 最新活动: 2025-12-05 17:44 浏览: 5480 关注: 4 人 Fany • 2025-12-05 18:18 感谢.不知道怎么回事,二次打包又好了.

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

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

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

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

615. 为什么hitTestPoint始终是false? [ 55%]

...vent.CLICK, this, this.hitPoint); } private hitPoint(e:Laya.Event): void { console.log(this.s.hitTestPoint(e.stageX, e.stageY)); } } 很简单的代码,不知道什么hitTestPoint始终得到的是false.我打印出s的宽高也都是0,但bounds是有有效矩形的。 2017-03-19 添加评论 ...

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

616. 如何给loadprogress传参数? [ 55%]

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

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

617. panel的实际高度如何获取 [ 55%]

...属性能得到这个高度 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

618. 小游戏初始化黑屏 [ 55%]

....ALIGN_MIDDLE; Laya.stage.bgColor = "#fff00f"; this.onLoop(); } onLoop() { console.log("good"); } } new GameMain(); 2018-06-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 你这个代...

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

619. 预加载音频文件遇到的问题 [ 55%]

....mp3", 0, Laya.Handler.create(this, onComplete)); } function onComplete(){ console.log("播放完成"); } 运行能正常运行但是控制台提示 Resources already exist,is repeated loading: D:/html5yx/project_zz/myxfj/bin/res/sound/bloodstream_bg.mp3 请问这是怎么回事。   附件 : --> 2...

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

620. [LayaAirIDE3]请教一下3.3中新的tween怎么动画结束后传参给回调的方法 [ 54%]

...s.onComplete, this);   private onComplete(tweener: Laya.ITweener): void { console.log(tweener.userData); } 2025-09-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 荣rong 相关问题 两个对象new了一个相同的对象,调用...

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