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

大约有 412 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)

251. Cannot connect to runtime process, timeout after 10000 ms [ 53%]

... ui控件的runtime可以设置添加参数吗 prefab添加runtime脚本 comp._addComponentInstance is not a function 2.0 Beta3版本中,runtime脚本的的问题 看腾讯课程碰到的runtime无效问题 IDE界面编辑中最顶层view设置runtime无效 Cannot connect to runtime process, timeo...

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

252. js版本 layaide ui组件发布后 res下没有对应的.atlas文件生成 [ 53%]

...组件 (jiaoyiqu.ui)   2 发布后 发现res/atlas/下面只有个 comp.atlas 并且 layaUI.max.all.js里面只有个TestPageUI   如果我插入 new TestPageUI() 显示出的是这个   PS :刚刚接触laya的前端 以前基本只做OA系统 这个问题困扰了我快一下午了  麻...

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

253. Cannot connect to runtime process, timeout after 10000 ms [ 53%]

... ui控件的runtime可以设置添加参数吗 prefab添加runtime脚本 comp._addComponentInstance is not a function 2.0 Beta3版本中,runtime脚本的的问题 看腾讯课程碰到的runtime无效问题 IDE界面编辑中最顶层view设置runtime无效 Cannot connect to runtime process, timeo...

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

254. 加载时间轴动画报错 [ 52%]

...如下: this.ani = new Laya.Animation(); this.ani.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe));   function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); }   运行时报 TypeError:Cannot read property '_create' of null...

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

255. 预加载结束之后还是报lose skin [ 52%]

...还是报lose skin private loadRes():void{ Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this, this.onAssetLoaded),Laya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } private onAssetLoaded(...

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

256. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 52%]

...(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.BoxCollider = this._boll1.addComponent(laya.physics.BoxCollider); box.height = 60; box.width = 28; //添加刚体 this._boll1.addComponent(Laya.RigidBody); //创建挡板 this.create...

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

257. 本人想做个批量加载json文件,然后等这些文件统一加载完后回调 [ 52%]

...星 loader支持加载Arr序列加载 var altsArr:Array=[ {url:"res/atlas/comp.atlas", type:Loader.ATLAS}, {url:"bitmapFont/timeFont.fnt", type:Loader.FONT}, {url:"bg/hallroom-bg.png", type:Loader.IMAGE}, {url:"bg/hallrom.json", type:Loader.JSON}, ]; Laya.loader.load(altsArr, Handler.create(this, on...

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

258. 微信小游戏图片加载不出来 [ 52%]

...E }, { url: "ui/BG/load.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }, { url: "res/atlas/ui.atlas", type: Laya.Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded)); Laya.loader.create("ui/BG/play-bg.png", Laya.Handler.cre...

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

259. 范例里。已经预加载资源,但是调试里面无法显示出资源。 [ 52%]

...要指定资源类型,例如:Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); q8196901 • 2017-10-25 17:07 可以了 ,谢谢

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

260. IOs使用手动删除本地资源再次进去加载问题 [ 52%]

...l, onLoaded)); } function onLoaded() { var res_array = [ {url : "res/atlas/comp.atlas", type : Laya.Loader.ATLAS}, ] Laya.loader.load(res_array, Handler.create(null, onLoaded2)); } function onLoaded2() { Laya.stage.addChild(new TestUI()); }当用这种方式分步加载资源的时候 就会出现...

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