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

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

1091. unity导出的ls和lh文件发布到微信小程序,用微信开发者工具打开报错 [ 66%]

...发者工具(v1.02.1802080)里报错,错误为"Scene: the .lh file root type must be Scene,please use other function to load this file."或"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file." 跟了一下,发现__proto.onAsynLoaded这个function接收...

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

1092. 创建第一个百度小游戏(TypeScript-小游戏适配文档-百度小游戏) [ 66%]

...目。** **官网下载地址** :[http://ldc2.layabox.com/layadownload/?type=layaairide](http://ldc2.layabox.com/layadownload/?type=layaairide) #### 2、下载并安装百度开发者工具 百度开发者工具主要用于小游戏产品的预览与调试、真机测试、上传提交等。是小...

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

1093. [0]Event.Mouse_Drag和Event.Mouse_Drag_End在不注册鼠标事件的情况下无法 [ 66%]

...ent.MOUSE_OUT, Event.MOUSE_WHEEL     ]);         static isMouseEvent(type) {             return MOUSE_EVENTS.has(type);         }脚本周期函数onMouseDrag, onMouseDragEnd在不注册鼠标事件的情况下无法触发。 创建一个2d空场景只放一个图片图片mouseEnable...

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

1094. laya.d3.core.scene.VRScene [ 66%]

...片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Lay...

来源: laya_api 发布时间: 20170422

1095. Laya.Video内存泄漏问题 [ 66%]

...ar video_url = '带有音轨的视频'; Laya.loader.load([{url: video_url, type: Laya.Loader.BUFFER }], Laya.Handler.create(this, createVideo)); var v; function createVideo() { var video_file = new Blob([Laya.loader.getRes(video_url)], {type: 'video/webm'}); var blob_url = URL.createObjectURL(video_...

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

1096. TiledMap 45度地图块渲染顺序问题 [ 66%]

...     "name":"\u5757\u5c42 1",          "opacity":1,          "type":"tilelayer",          "visible":true,          "width":10,          "x":0,          "y":0         }],  "nextobjectid":1,  "orientation":"isometric",  "renderorder":"right-down",  "tiledversio...

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

1097. 跑第一个HelloLayabox出现runtimeExecutable配置错误 [ 66%]

...本代码 { "version": "0.2.0", "configurations": [ { "name": "layaAir", "type": "chrome", "request": "launch", "file": "${workspaceRoot}/bin/index.html", "runtimeExecutable": "${execPath}", "useBuildInServer": true, "sourceMaps": true, "webRoot": "${workspaceRoot}", "port": 9222, "fixedPort":false ...

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

1098. 摄像头,系统相册 [ 66%]

... ohkei • 2017-08-03 14:19 @qq2503995928:我做过,就是用<input type="file"......... qq2503995928 • 2017-08-03 14:23 @ohkei:能否给我一个demo 感激不尽 ohkei • 2017-08-03 14:27 @qq2503995928:就是用上面的方法啊,你试一下就知道了 qq2503995928 • 2017-0...

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

1099. drawToCanvas截图在某些手机上会变暗 [ 66%]

...n/ 赞同来自: 加上cacheAsBitmap=true 没有起作用 canvas.toDataURL(type, encoderOptions); type:"image/jpeg","image/png" encoderOptions: 0.0-1.0 给toDataURL修改参数也没起作用   canvas.toBlob(function(b) { snapshot.src = URL.createObjectURL(b); },'image/jpeg',0.3); 把toDataUrl...

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

1100. 1.5.0 LayaAir IDE发布UI资源缺失! [ 66%]

...I,'ui.abc.ABCPanelUI',_super);         var __proto__=ABCPanelUI.prototype;         __proto__.createChildren=function(){                          laya.ui.Component.prototype.createChildren.call(this);             this.createView(ABCPanelUI.uiView);         ...

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