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

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

2041. List第二次选择问题 [ 72%]

List第二次选择问题 this.game_list.selectEnable = true;设置成可选后,会导致第二次选择时不会触发this.game_list.selectHandler;有解决方法吗 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

2042. matter中有没有类似于unity中的OnCollision碰撞检测函数呀,用js怎么写 [ 72%]

...来自: 么有。这个我给你个demo,你自己看看。 1.初始化 this.Matter.Events.on(this._engine, 'collisionActive', this.onCollision);   2.碰撞检测 private onCollision(event): void { console.log("碰撞了..");  var home = _gamePage._mainPage._playPage;  for(var i = 0; i < even...

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

2043. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 72%]

...rogressBar.png", "../../../../res/ui/progressBar$bar.png"], Handler.create(this, onLoadComplete)); } /***加载资源完成***/ private function onLoadComplete():void { //实例化进度条 progressBar = new ProgressBar("../../../../res/ui/progressBar.png"); //设置宽度 progressBar.width = 400; /...

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

2044. 关于项目分包的问题?? [ 72%]

...it(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; var loginView:LoginView = new LoginView(); this.addChild(loginView); } } } 提示:你需要确定4步 1、导入的fb(或 fd)项目...

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

2045. 怎么循环添加图片的点击事件 [ 72%]

...事件 添加相同的事件,处理每张图片回到相应的位置,this.p1,this.p2,这种怎么循环,它是对象属性,字符串拼接,数组,都弄不出来,能给出合适的写法嘛 2018-05-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

2046. label赋值为0问题 [ 72%]

...动: 2017-04-01 11:40 浏览: 888 关注: 2 人 C_jx • 2017-04-01 11:43 this.label.text = 0;时是无法显示的,this.label.text = ‘0’;可以显示。如果改成!==则可以正常显示 cuixueying • 2017-04-01 16:52 text的值是字符串,不是数字类型的!

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

2047. App Updates for HTML5 Apps 这意味着iOS端就废了? [ 72%]

... Store, we have always specified that apps must be self-contained bundles. This means that the core features and functionality of the app must be contained within the binary of the software, rather than made possible by referring users outside of the approved app, including through the use of HTML5....

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

2048. 陀螺仪 IOS [ 72%]

陀螺仪 IOS    Laya.Gyroscope.instance.on(Laya.Event.CHANGE,this,this.onDeviceorientation);   在IOS 下没有调用 onDeviceorientation 这个方法。陀螺仪在苹果上如何处理 2019-08-15 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

2049. [LayaNative2]使用最新版2.13.9.3的安卓库会5-7分钟固定断网一次 [ 72%]

...24482-11422 LayaBox com.hkjywu.IdleSavior3 I JSWebSocketDelegate::onClose()this={public}x ws={public}x 2025-10-27 19:00:35.872 24482-11422 LayaBox com.hkjywu.IdleSavior3 I WebSocket onSocketCallback connection closing 30 reason 2025-10-27 19:00:35.878 24482-10329 LayaBox com.hkjywu.IdleSavior3 I JSW...

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

2050. 2.0场景问题? [ 72%]

...,而且我有个按钮  var buttonMy,但是在处理函数里面输出this是这个场景,而我this.buttonMy却是一个undefind?有没有大佬知道呀? 附件 : --> 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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