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

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

281. 微信加载文件失败没有回调 [ 59%]

...e.log("LoadError")} LoadOK(){console.log("LoadOK")}   Laya.loader.on(Laya.Event.ERROR,this,this.LoadError) Laya.loader.load("不存在的图片URL",Laya.Handler(this,this.LoadOK));     发布成微信小游戏版本在真机微信上运行,发现这2个回调都没执行。   2018-09-20 添加...

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

282. 物理引擎,刚体施加力效果错误,有人帮忙看下吗 [ 59%]

...t(Rigidbody3D) as Rigidbody3D; }));   //施加作用力或冲量 btn_a.on(Event.CLICK,this, function():void{ _rb.applyImpulse(new Vector3(0, 0, -2000)); })     附件 : --> 3D_DEMO_190402精简.zip 2019-04-17 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

283. 开放域的Laya.loader.load没有回调 [ 59%]

...回调了,之前都好好的,真机调试onload没调用,监听Laya.Event.ERROR也没有回调。但是在别的手机上和开发者工具里都是好的。是哪里出了问题。。 附件 : --> 2022-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

284. 在native下 Laya.Browser.window.Blob不存在 [ 59%]

...ImageTest: function (ss) { var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE, this, completeHandler); xhr.once(Laya.Event.ERROR, this, errorHandler); xhr.send("http://192.168.10.108:35553/re ... ot%3B, "", "get", "arraybuffer"); function completeHandler(data) { //加载完成返回的da...

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

285. 使用/*[COMPILER OPTIONS:normal]*/来编译分包无法生成Dictionary类的定义 [ 59%]

...(2.1.5)。可能出现不一致的编译错误 微信小游戏编译报错 event自定义事件的问题 问题状态 最新活动: 2017-11-08 15:24 浏览: 1659 关注: 4 人

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

286. 微信小游戏与加载图片时不会触发erroe事件 [ 58%]

...信小游戏与加载图片时不会触发erroe事件 Laya.loader.on(Laya.Event.ERROR, this, function(){ console.log("err"); }); Laya.loader.load([{url:"res/general/test.png",type:laya.net.Loader.IMAGE}]); 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

287. [求助]无法使用loader预先加载 [ 58%]

...Handler.create(this, onLoading, null, false), Loader.TEXT); Laya.loader.on(Event.ERROR, this, onError);   private function onAssetLoaded(texture:Texture):void{             //console.log("111: ");                          txt.visible=false;            ...

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

288. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 58%]

...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我们...

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

289. 地形shader示例渲染失败【在线等】 [ 58%]

...ile:///Users/xutao/Documents/laya/test/bin/js/LayaAir3D.js:18:18)     at EventHandler.__proto.runWith (file:///Users/xutao/Documents/laya/test/bin/libs/laya.core.js:713:27)     at Scene.__proto.event (file:///Users/xutao/Documents/laya/test/bin/libs/laya.core.js:483:28)     at Scene.__proto.on...

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

290. layaair1.5.4测试版本ide下调试 报protobuf错误 [ 58%]

...te (file:///D:/workspace_laya/car_h5_nonet/bin/h5/Main.max.js:34766:11) at EventHandler.__proto.runWith (file:///D:/workspace_laya/car_h5_nonet/bin/h5/Main.max.js:1239:42) at ScenceManager.__proto.event (file:///D:/workspace_laya/car_h5_nonet/bin/h5/Main.max.js:1018:29) at ScenceManager.__proto.disp...

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