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

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

1051. 打包app,http无法设置content-type [ 65%]

...gt;, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'pos...

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

1052. 导入微信小游戏的时候 [ 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

1053. js中使用sharedMesh报错 [ 65%]

...file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12657:28) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:709:27) at ResInfo.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:479:28) at LoaderManager.__proto._end...

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

1054. worker.js 使用问题 [ 65%]

...a.dataType || data.dataType !="imageBitmap"){             this.event(data.url,null);             return;         };         var bitmap;         var imageData=data.imageBitmap;         if (Render.isWebGL){             /*__JS__ */bitm...

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

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

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

1056. TiledMap加载失败的问题 [ 64%]

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

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

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

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

1059. 音乐与音效的播放与控制(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

1060. FBX导出Index was outside the bounds of the array [ 64%]

...0) UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:266) UnityEngine.Experimental.UIElements.IMGUIContainer.Handl...

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