大约有 95 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...", "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
...", "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
...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
...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
...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
...加载资源有提供回调方法获取加载进度么,目前只能通过Loader加载单个资源获得回调,加载数组的话有方法么 2017-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS ...
来源: Laya_社区 发布时间: 20170322
...尴尬了,但或许我有没用对的地方。。。 另外:SceneLoader为啥不加一个progress啊,非常实用的功能,现在得自己load list一下 http://ask.layabox.com/question/39354 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20181102
...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
...度条设了遮罩不起作用 laya能不能嵌入聊天页面 请问Laya.loader.load资源缓存在哪里?能不能把这个缓存目录里的资源加入NativeFile白名单? LayaAir IDE中创建动画设置关键帧只能用拖的吗? layaNative 接入SDK 用marketName 这种方式太绕了...
来源: Laya_社区 发布时间: 20180316
...画在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