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

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

301. 调用Laya.Geolocation,程序卡死 [ 65%]

...location,程序卡死 if (!Laya.Geolocation.supported) { console.log(11) this.txt.text = "11"; }else{ console.log(3333) this.txt.text = "22"; } 代码运行到这里就不往下运行 了,控制台也不输出,什么问题? 2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

302. [LayaAir3]Laya.LayaGL 是null [ 64%]

...关问题 alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] Cannot read property 'displayObject' of null laya2.6.0打apk和小游戏都会报_InPool为null Uncaught TypeError: Cannot read property 'load' of null 打包apk之后,突然报一个错...

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

303. Laya.Tween.to 有没有监听值的变化的方法? [ 64%]

...属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。          * @param   duration 花费的时间,单位毫秒。          * @param   ease 缓动类型,默认为匀速运动。          *...

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

304. AppStore提审被据 [ 64%]

AppStore提审被据 碰到这个描述:This app invokes the non-public selector "SimulateCrash". It would be appropriate to remove this selector use before resubmitting for review. 查了下,应该是libJavaScriptCore.a和libbmalloc.a包含了,这个如何解决呢? 2018-02-17 添加评论...

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

305. 用https://layaair.ldc.layabox.com/demo/?2d&Network&XML 官网例子来测试XmlDom,编译报错 [ 64%]

...子来测试XmlDom,编译报错 如题,错误信息为 warning:XmlDom This variable is not defined. 2017-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: mab604790322 ...

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

306. 2.2.0 Html使用img标签解析错误 [ 64%]

...载的2.3beta,然后在HTMLImageElement的reset方法里加了一行:this._tex.off(Laya.Event.READY, this, this.onloaded); 其他没区别 133*****831 • 2019-10-29 14:10 嗯,升级2.3.0版本,Unity3D也要升级2018.4了,看样子无解了,直接升级了

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

307. 微信小游戏关系链 我创建了一个开放域的项目 但是报错了 [ 64%]

...r WID = 375, HEI = 85; function RankListItem() { RankListItem.__super.call(this); this.size(WID, HEI); this.img = new Laya.Image(); this.addChild(this.img); this.setImg = function (src) { this.img.skin = src; } } Laya.class(RankListItem, "RankListItem", Laya.Box); //rankList var rankList = new Laya....

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

308. 模仿教程里的打地鼠写的代码,运行报错 [ 64%]

...//加载资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS) })(); function onLoaded(){ //实例化 var tempBG=new background(); Laya.stage.addChild(tempBG); } })();在background.js里是这样写的 var background = (function (_super) { function ...

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

309. 在Canvas模式下 drawTexture出错 [ 64%]

...侠 • 2018-01-19 09:20 public function Test1View() { Laya.timer.loop(10,this,draw); } private function draw():void { texture = Laya.loader.getRes("comp/lhjicon_5.png"); var temp:Texture = Texture.createFromTexture(texture,0,0,texture.sourceWidth/2,texture.height/2); IconSpr.graphics.draw...

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

310. 用谷歌获取经纬度报错? [ 64%]

...// 尝试获取当前位置 Geolocation.getCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.ac...

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