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

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

481. Cannot read property 'load' of null [ 44%]

...天使之剑H5的选服界面和load界面的实现原理么? scene场景open或者load失败以后没有回调通知,代码中无法知道是成功还是失败了, 如果是线上玩家那不是直接就卡在那里不动了 iOS 接入微信登录,配置了"Other Linker Flags"中加入"-Obj...

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

482. 可以帮我查看吗,关于用unity编辑的动画 [ 44%]

...物件的active设false吗?但播放另外一个动画(0:box_Idel,1:box_Open)都不会有问题。 mobile3Dbin • 2018-07-25 15:27 我将active = true直接接在后面,而不是计时器里面了仍然有问题。 Laya_Aaron • 2018-07-25 15:29 @mobile3Dbin:这个不是计时器的问题,...

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

483. 如何监听移动端软键盘的弹出和收回? [ 44%]

...Height=window.innerHeight'); if(desHeight!=sourceHeight) { textInput.text="OPEN"; } else { textInput.text="CLOSE"; } } } }提示:如果以上代码有看不懂的地方,请大家先学习宏编译的用法 链接:http://layaflash.ldc.layabox.c ... d%3D9 2015-12-25 0 1 分享 微博 QZONE 微...

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

484. laya.display.Scene_API3.0 [ 44%]

...ller on onAfterDeserialize onAwake onClosed onDestroy onDisable onEnable onOpened once open parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anc...

来源: Laya3.0_api 发布时间: 20231115

485. laya.ui.View_API3.0 [ 44%]

...ller on onAfterDeserialize onAwake onClosed onDestroy onDisable onEnable onOpened once open parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anc...

来源: Laya3.0_api 发布时间: 20231115

486. Laya.Socket 是不是不支持Safari浏览器二进制格式的数据传输? [ 44%]

...this.socket.connectByUrl("ws://localhost:8989"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private ope...

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

487. 1.76beta引擎库的BUG:Laya.List动态载入后,滑动时会将list框本身的滑动区域一并向滑动方向移动,会出现点击list中空白区域就无法滑动的情况 [ 43%]

... 200;         this.list.scrollBar.elasticDistance = 200;     }     open(): void     {         for(let i = 0; i< 50; i++)         {             this.test.push(i);         }         this.list.array = this.test;     }     onItemRender(item: Item_List, index: numbe...

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

488. 求HTTP相关的文档或者例子谢谢了 [ 43%]

.../请求加载过程中触发的6个事件 urlLoader.addEventListener(Event.OPEN,openHandler); urlLoader.addEventListener(ProgressEvent.PROGRESS,progressEventHandler); urlLoader.addEventListener("complete",completeHandler); urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR,securityErrorHan...

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

489. 预制体模块 · LayaAir3文档 · LAYABOX [ 42%]

... Laya.timer.once(1000, this, () => { //跳转到入口场景 Laya.Scene.open("Scenes/Index.ls"); //不要使用Laya.Scene.open("./Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 *...

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

490. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

... Laya.timer.once(1000, this, () => { //跳转到入口场景 Laya.Scene.open("Scenes/Index.ls"); //不要使用Laya.Scene.open("./Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 *...

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