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

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

1021. 项目做了一周.然后打不开了.怎么办? [ 65%]

...ayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:390:36) at EventEmitter.restartServer.getPort (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:372:18) at Server.<anonymous> (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.j...

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

1022. TiledMap加载失败的问题 [ 65%]

...e:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.tiledmap.js:165:20) at EventHandler.__proto.runWith (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:670:60) at Loader.__proto.event (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:450:29) at Loader.__proto.endLoad (f...

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

1023. spine适配版微信开发者平台报错 [ 65%]

...ineVersion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); }加载方式用的官方案例,本地跑是没问题的 2021-12-07 0 0 分享 微博 QZONE 微信 northTg 赞同来自: 有...

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

1024. 导入微信小游戏的时候 [ 65%]

...t ResInfo.onLoaded (http://127.0.0.1:65353/game/code.js:12995:61)     at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:711:59)     at ResInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.j...

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

1025. 音乐与音效的播放与控制(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 64%]

...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示...

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

1026. laya.ui.TextArea [ 64%]

...ll Classes | Index | Frames No Frames TextAreaProperties | Methods | Events Packagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherit...

来源: Laya2.0_api 发布时间: 20190513

1027. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...毕,此方法只执行一次 */ onAwake(): void { this.sprite2.on(Laya.Event.MOUSE_DOWN, this, this.test2);//设置监听,sprite1或sprite2均可 console.log(this.sprite1.mouseEnabled);//打印父节点sprite1的MouseEnabled的值:true console.log(this.sprite2.mouseEnabled);//打印子节点sp...

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

1028. 粒子编辑器报错 [ 64%]

...10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:38985:25) at EventHandler.__proto.run (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/laya.js:649:27) at TabEx.__proto.event (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/laya.js:442:53) at Ta...

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

1029. safari横屏在一定条件下会出现显示内容错位问题。必现!! [ 64%]

... 2 个回复 cuixueying 赞同来自: 你试下,给Laya.Stage监听一个Event.RESIZE事件,在RESIZE的回调里重置下适配模式看下能不能避免这个问题! 2017-07-07 0 4 分享 微博 QZONE 微信 yung 赞同来自: 如果不下移,那么上面会被地址栏挡着一部分,...

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

1030. 音乐与音效的播放与控制(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 64%]

...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示...

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