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

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

351. Laya.loader.create 进度回调函数执行两次!!! [ 75%]

Laya.loader.create 进度回调函数执行两次!!! Laya.loader.create("Main/SMain.ls",Laya.Handler.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); }   输出...

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

352. LayaNative 2.8.0 加载的TTF字体不生效,附复现工程。 [ 75%]

...网盘手机App,操作更方便哦 望解答。           Laya.loader.load("fonts/OPPOSANS-H.ttf", Laya.Handler.create(this, (success) => {             console.log("2.8.0 字体加载是否成功:", success);             Laya.Text.defaultFont = "OPPOSANS...

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

353. 滤镜-模糊滤镜 [ 75%]

...ER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Handler.create(this, createApe)); })(); function createApe() { var ape = new Sprite(); ape.loadImage(apePath); ape.x = (Laya.stage.width - ape.width) / 2; ape.y = (Laya.stage.height - ape.height) / 2; Lay...

来源: Laya_示例 发布时间: 20251130

354. l微信开放域无法显示,但是可以正常传数据 [ 75%]

...main.ts: if(Laya.Browser.onMiniGame){ //加载一个json和图集 Laya.loader.load(["res/atlas/test.atlas"],Laya.Handler.create(null,function(){ //加载完成 //使用接口将图集透传到子域 Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); }));子域main.ts: import GameC...

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

355. [LayaAir3]Laya.loader 加载png图片失真 [ 74%]

[LayaAir3]Laya.loader 加载png图片失真  Laya.loader.load(url, {                             type: Laya.Loader.TEXTURE2D,                             propertyParams: {                                 premultiplyAlpha: true,    // 不预乘alpha   ...

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

356. Laya.loader.create 加载进度问题 [ 74%]

Laya.loader.create 加载进度问题 我用Laya.loader.create加载.lh模型, function ModelManager() { Laya.loader.create("res/Pipe/Pipe/a.lh", Laya.Handler.create(this, this.onCreateComplete()),Laya.Handler.create(this, this.onAssetsLoading)); } ModelManager.prototype.onCreateComplete = functi...

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

357. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 74%]

...源的进度进行显示,下面的编码为就是错误的。 1. `Laya.loader.load(urls, Laya.Handler.create(this, onAssetLoaded), Laya.Handler.create(this, onLoading));` 在上面的代码中,使用`Laya.Handler.create(this,onLoading)`返回的回调方法,是要处理progress加载进度事...

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

358. 引擎1.7.18 新增Loader的preLoadedMap属性怎么用 [ 74%]

引擎1.7.18 新增Loader的preLoadedMap属性怎么用 引擎1.7.18 新增Loader的preLoadedMap属性在API中没有.请问具体怎么用啊? 有Demo之类的嘛? 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

359. getPixels中的bug [ 74%]

...g 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 微信6.7.2版本3D显示BUG 微信小游戏兼容性bug 部分机型load场景不显示 image loadimage 加载网...

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

360. Unity导出的特效,缓存后第一次加载能播放,此后再加载不播放的问题 [ 74%]

...缓存后第一次加载能播放,此后再加载不播放的问题 Laya.loader.create缓存加载的 2017-06-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 gy760736077 赞同来自: 还有,即使缓存了....

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