大约有 730 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
Laya_社区(632) Laya2.0_文档(49) Laya3.0_文档(29) laya_api(4) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4)
... //初始化预加载数据 public m_initData(url:string,atlas:boolean,atlasPath?:string){ (atlas===void 0)&& (atlas=false); this['_url']=url=Laya.URL.formatURL(url); if(atlas)this['_atlasPath']=atlasPat...
来源: Laya_社区 发布时间: 20180615
...create:hash',['clean'], () => { return gulp.src([ './server/static/**/*.atlas', './server/static/**/*.png', './server/static/**/*.mp3' ]) .pipe(hash({ template: '<%= name %><%= ext %>?version=<%= hash %>', })) .pipe(hash.manifest('src/assets/index.ts')) .pipe(function(){ return ...
来源: Laya_社区 发布时间: 20180412
...的图片。。发现加载图片时加载不了。 Laya.loader.load(["res/atlas/img/hall.json"],Laya.Handler.create(this, onLoaded),null,Laya.Loader.ATLAS);无法加载。。。怎么回事 2017-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20170412
...关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load("res/atlas/war/hero.atlas", Handler.create(this, this.onLoad), null, Loader.ATLAS); 什么意思,, 2018-03-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 VkonSun ...
来源: Laya_社区 发布时间: 20180330
...务器资源 URL.basePath = "http://212.xx.xx.xx/"; Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,loadComplete)); loadComplete(){显示自己的ui}; 项目设置选择不校验合法域名。(我没有配置域名,用IP可以吗?) 发现comp.atlas是加载下来了,图片不...
来源: Laya_社区 发布时间: 20190116
... at laya.webgl.resource::WebGLImage() at MethodInfo-3289() at laya.webgl.atlas::AtlasWebGLCanvas/texSubImage2D() at laya.webgl.atlas::Atlaser/addToAtlasTexture() at laya.webgl.atlas::AtlasResourceManager/pushData() at laya.webgl.atlas::AtlasResourceManager/addToAtlas() at MethodInfo-3300() at laya.r...
来源: Laya_社区 发布时间: 20200217
... 图集地址或者texture地址,比如 Loader.clearTextureRes("res/atlas/comp.atlas"); Loader.clearTextureRes("hall/bg.jpg"); */ public static function clearTextureRes(url:String):void { 2018-04-25 0 0 分享 微博 QZONE 微信 w1114367261 赞同来自: ...
来源: Laya_社区 发布时间: 20180425
...打包为一张,导致读取uv信息错误。 1) 手动删除 bin/res/atlas/spine.png & in/res/atlas/spine.atlas 2) 设置spine图集不打包,或spine所在文件夹不打包 3) Ctrl+F12强制导出 2020-03-30 2 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该...
来源: Laya_社区 发布时间: 20190805
...完毕,此方法只执行一次 onAwake(): void { this.hscroll.skin = "atlas/comp/hscroll.png";//滚动条皮肤 this.hscroll.width = 300;//滚动条的宽度 this.hscroll.pos(300, 300);//滚动条的位置 this.hscroll.min = 0;//滑块的最小滚动位置 this.hscroll.max = 10;//滑块的最大...
来源: Laya3.0_文档 发布时间: 20251010
...完毕,此方法只执行一次 onAwake(): void { this.vscroll.skin = "atlas/comp/vscroll.png";//滚动条皮肤 this.vscroll.width = 300;//滚动条的宽度 this.vscroll.pos(300, 300);//滚动条的位置 this.vscroll.min = 0;//滑块的最小滚动位置 this.vscroll.max = 10;//滑块的最大...
来源: Laya3.0_文档 发布时间: 20251010