大约有 462 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0050 秒)
...ource = ["Export/LayaScene_JJF/Conventional/JJF.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //创建场景 let scene = Laya.stage.addChild(new Laya.Scene3D()); //创建...
来源: Laya_社区 发布时间: 20190531
...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
...ivate function loadUI():void { var _this:D3Base_TargetTexture = this; Laya.loader.load(["../../../../res/threeDimen/ui/button.png"], Handler.create(null, function():void { var btn:Button = new Button(); btn.skin = "../../../../res/threeDimen/ui/button.png"; btn.label = "切...
来源: Laya_社区 发布时间: 20170209
...ode 的语言服务(2.1.5)。可能出现不一致的编译错误 请问下loader如何强制加载一个文件,避免浏览器的缓存 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚动一模一样。 FD 宏编译时 ...
来源: Laya_社区 发布时间: 20200110
...体都不行,请问怎么才能加载预制体,这个方法报错 Laya.loader.create,单独运行子域项目是没问题 177*****949 • 2018-11-08 20:25 @嘿哈 还没有解决吗 ? bingo • 2018-11-16 18:03 我也出现这个问题了,怎么解决呢 bingo • 2018-11-18 10:55 Laya.MiniA...
来源: Laya_社区 发布时间: 20181026
...载。 手动加载的方式如下: //非远程包的加载方式 Laya.loader.loadPackage("NewFolder"); // "NewFolder" 为分包目录名称 //远程包的加载方式,提供了资源网络地址才会认为是在加载远程包 Laya.loader.loadPackage("NewFolder", "http://cdn.cn/"); //"http://c...
来源: Laya3.0_文档 发布时间: 20251023
...带版本号的。请问有解决方案么? 启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 问题状态 最新活动: 2016-01-10 16:58 浏览: 2676 关注: 4 人
来源: Laya_社区 发布时间: 20160110
...ler-arm64) (code 199992) 10-13 17:31:15.861 6514-6514/com.vivo.vs I/LibraryLoader: Loading: webviewchromium 10-13 17:31:15.871 6514-6514/com.vivo.vs I/LibraryLoader: Time to load native libraries: 3 ms (timestamps 6259-6262) 10-13 17:31:15.871 6514-6514/com.vivo.vs I/LibraryLoader: Expected native l...
来源: Laya_社区 发布时间: 20181013
...渲染效果 alpha遮罩 用法: var texture: Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.init(texture); //this.spe.initWithoutTexture(128, 128); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.stage.addChild(this.spe); -----...
来源: Laya_社区 发布时间: 20170606
... Math.random()); if(this.bg == null){ //贴图纹理 this.bgTexture = Laya.loader.getRes("res/floor.png"); this.bg = new laya.display.Sprite(); this.bg.graphics.clear(); this.addChild(this.bg); //因为上面的图片是截取的 所以右边可能没有图片了 这里补一个 this.rightBg = new l...
来源: Laya_社区 发布时间: 20160801