大约有 341 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(269) Laya2.0_文档(29) Laya3.0_api(21) Laya3.0_文档(15) Laya2.0_示例(2) Laya2.0_api(2) laya_api(2) Laya_示例(1)
...hone自带浏览器页面怎么锁定 IDE创建的UI 层级问题 请问下loader如何强制加载一个文件,避免浏览器的缓存 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 问题状态 最新活动: 2017-10-18 14:59 浏览: 998 关注: 3 人 rgxianzhan ...
来源: Laya_社区 发布时间: 20171018
....moduleCode[moduleName]; var moduleJs:*; if (codeConfig) { moduleJs = Laya.loader.getRes(codeConfig.url); } return moduleJs; } chunjine • 2017-03-17 15:45 @chunjine:不对,并不能断点,只是有异常能进去。 sleepfish • 2017-03-27 09:36 可以断点。。。只要在data后面加上/...
来源: Laya_社区 发布时间: 20161020
...商联系...”, 修改stage的scale后,会发生异常情况 请问下loader如何强制加载一个文件,避免浏览器的缓存 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 通过laya嵌入iframe 后 原本la...
来源: Laya_社区 发布时间: 20200119
...键松开时isFrame=false,按下播放尾焰特效后就置为true Laya.loader.load('../bin/testflame.part', Laya.Handler.create(this, (setting) => { let frame = new Laya.Particle2D(setting); let key = keyString; let frameX; let frameY; let play = true; let frameScale; let frameRotation; //问...
来源: Laya_社区 发布时间: 20190723
...nction.MiniFileMgr.readFile (http://127.0.0.1:63435/game/op ... 418:14) at Loader.__proto.load (http://127.0.0.1:63435/game/op ... 115:18) at LoaderManager.__proto._doLoad (http://127.0.0.1:63435/game/op ... 296:10) at LoaderManager.__proto._next (http://127.0.0.1:63435/game/op ... 269:26) at Loader...
来源: Laya_社区 发布时间: 20180507
...01-13 11:36 this.url = comp/lhjicon_5.png" this.cached_texture = Laya.loader.getRes(this.url) // 每次重新绘制的时候 this.graphics.clear() this.graphics.drawTexture(this.cached_texture) // 而不是每一次都 drawcanvas 然后再转成 texture,drawcanvas作用就跟截屏一样 kezh...
来源: Laya_社区 发布时间: 20180113
...能console出,那个list中的数据也存在,但没渲染出。 Laya.Loader.getRes请教 本地调试加载本地图片都报错 问题状态 最新活动: 2017-06-15 17:04 浏览: 1766 关注: 4 人 189*****192 • 2017-06-16 09:27 http://layaair.ldc.layabox.com/demo/?Filters_Color 我发的...
来源: Laya_社区 发布时间: 20170615
... Texture; set texture(value: Texture); 我们来看看代码示例: Laya.loader.load("atlas/comp/image.png").then(() => { let sprite = new Laya.Sprite(); //精灵设置纹理并居中显示 let res = Laya.loader.getRes("atlas/comp/image.png"); sprite.pos(Laya.stage.width >> 1, Laya.stage....
来源: Laya3.0_文档 发布时间: 20251010
...在构建发布配置项里手动添加为始终包含的资源目录 Laya.loader.load("resources/aaa/test.atlas").then(() => {//更多资源加载方式,可查看《资源加载》文档 this.owner.skin = "resources/aaa/image.png"; //将图集路径+名称视为小图的资源目录,小图...
来源: Laya3.0_文档 发布时间: 20251128
...ya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(null, onLoaded)); }*/ function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onLoaded(): void { var rankList = new Laya.List(); ...
来源: Laya_社区 发布时间: 20180507