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

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

131. 微信小游戏 · LayaAir3.0文档 · 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_文档 发布时间: 20240528

132. 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

133. 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

134. 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

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

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

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

136. 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

137. 【简单跑酷--JS版】---Lv.6 终篇 [ 38%]

...fig.GameHeight - this.txt.height) * 0.5; this.addChild(this.txt); } _proto.progress = function(value){ this.txt.text = "Loading " + parseInt(value * 100) + "%"; } })();[/i][i](function () { /** * 游戏介绍 */ function GameInfo(){ this.bg = null; this.txt = null; GameInfo.__super.call(this); this....

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

138. laya.display.Scene_API3.0 [ 34%]

...500毫秒 Returns void Static load load(url: string, complete?: Handler, progress?: Handler): Promise<Scene> Defined in laya/display/Scene.ts:372 加载场景及场景使用到的资源 Parameters url: string 场景地址 Default value complete: Handler = null 加载完成回调,返回场景...

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

139. laya.ui.View_API3.0 [ 34%]

...500毫秒 Returns void Static load load(url: string, complete?: Handler, progress?: Handler): Promise<Scene> Inherited from Scene.load Defined in laya/display/Scene.ts:372 加载场景及场景使用到的资源 Parameters url: string 场景地址 Default value complete: Handler = null 加载...

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

140. laya.ui.Dialog [ 29%]

...鼠标事件。 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