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

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

41. 垂直滑动组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

...", "vslider$bar.png");//图片资源来自“引擎API使用示例” Laya.loader.load(skins, Laya.Handler.create(this, this.placeVSlider)); } private placeVSlider(): void { let vs: Laya.Slider = new Laya.VSlider(); vs.skin = "vslider.png"; vs.height = 300; vs.pos(400, 50); vs.min = 0; vs.max = 100;...

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

42. 水平滑动组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

...", "hslider$bar.png");//图片资源来自“引擎API使用示例” Laya.loader.load(skins, Laya.Handler.create(this, this.placeHSlider)); } private placeHSlider(): void { let hs: Laya.Slider = new Laya.HSlider(); hs.skin = "hslider.png"; hs.width = 300; hs.pos(50, 500); hs.min = 0; hs.max = 100; ...

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

43. ProgressBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 76%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["res/ui/progressBar.png", "res/ui/progressBar$bar.png"], Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { progressBar = new ProgressBar("res/ui/progressBar.png"); progressBar.width = 400; ...

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

44. js进度,进度,js场景进度效果 [ 76%]

...SCREEN_HORIZONTAL; //显示帧频信息 Laya.Stat.show(); //预加载 Laya.loader.load(this.arr, Laya.Handler.create(this, this.onAssetLoaded), Laya.Handler.create(this, this.onLoading, null, false), Laya.Loader.ATLAS); }; //加载完成后 p.onAssetLoaded = function() {}; //加载进度 p.onLoading...

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

45. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 75%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["res/ui/progressBar.png", "res/ui/progressBar$bar.png"], Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { this.progressBar = new ProgressBar("res/ui/progressBar.png"); this.progressB...

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

46. LayaFlash中的preSwfAssets预加载资源有提供回调方法获取加载进度[ 74%]

...加载资源有提供回调方法获取加载进度么,目前只能通过Loader加载单个资源获得回调,加载数组的话有方法么 2017-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS ...

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

47. 加载场景成功时,并不是场景上所有资源都已加载完 [ 73%]

...尴尬了,但或许我有没用对的地方。。。     另外:SceneLoader为啥不加一个progress啊,非常实用的功能,现在得自己load list一下 http://ask.layabox.com/question/39354       2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

48. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 72%]

...olor = "#101825"; this.init() } init() { // 预加载图集 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded ), null, Laya.Loader.ATLAS) } onLoaded(){ Laya.stage.addChild(new TopUI()) Laya.stage.addChild(new TabUI()) this.getGold.on(Laya.Event.MOUS...

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

49. 这种聊天怎么做?关键还要加入表情这种东西 [ 70%]

...度设了遮罩不起作用 laya能不能嵌入聊天页面 请问Laya.loader.load资源缓存在哪里?能不能把这个缓存目录里的资源加入NativeFile白名单? LayaAir IDE中创建动画设置关键帧只能用拖的吗? layaNative 接入SDK 用marketName 这种方式太绕了...

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

50. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 69%]

...画在pc模拟器播放OK在手机端不显示 loaded : function(){ this.loader = Laya.loader; this.loader.retryNum = 0;//无加载重试 this.urls = ['imgdebris/imgdebris.atlas','imgdebris/p1_slj.png',]; // this.loader.load(this.urls[0], Laya.Handler.create(this, this.onAssetloaded)); this.loader.l...

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