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

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

131. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 52%]

...ata);         this._customParse=false;         this.event("progress",1);         this.event("complete",(this.data instanceof Array)? [this.data] :this.data);     } 上面这里直接判断失败,走了false 具体见附件。   望解决 附件 : --> WX3D.rar laya3D工...

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

132. 求HTTP相关的文档或者例子谢谢了 [ 52%]

...nts.HTTPStatusEvent; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.events.SecurityErrorEvent; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLRequest; import flash.net.URLRequestMethod; import flash.net.URLVariables; public cl...

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

133. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 52%]

...为横屏 Laya.stage.screenMode="horizontal"; //加载FGUI中的文件 var ProgressBar,resArray; Laya.loader.load([ {url:"res/Public.fui",type:laya.net.Loader.BUFFER}, {url:"res/Public@atlas_ucn9w.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas_ucn90.png",type:laya.net.Loader.IMAGE}, {url:"...

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

134. 抖音小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...: void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.pr...

来源: Laya3.0_文档 发布时间: 20251010

135. 微信小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...: void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.pr...

来源: Laya3.0_文档 发布时间: 20251010

136. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 45%]

...ew Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失...

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

137. laya.ui.MoreGame [ 42%]

...包括 安卓跟苹果 MoreGame load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:...

来源: Laya2.0_api 发布时间: 20190513

138. laya.ui.View [ 42%]

...鼠标事件。 EventDispatcher load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:...

来源: Laya2.0_api 发布时间: 20190513

139. 1.0 骨骼drawcall优化猥琐方法 [ 40%]

...问粒子,shader,动画缓存的优化应该如何选择 load方法的progress回调进的次数太少了。是我哪里设置有问题么 关于引擎对于骨骼动画骨骼形变支持的问题 问题状态 最新活动: 2020-10-13 14:08 浏览: 1654 关注: 5 人

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

140. laya.ui.ProgressBar_API3.0 [ 38%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,...

来源: Laya3.0_api 发布时间: 20231115