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

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

371. Unity导出的特效,怎么缓存让第一次加载的时候不卡呢 [ 74%]

...文件后,除第一次外,再加载特效不显示了? 缓存:Laya.loader.create([             ...             "Resources/Player/nan_jianshi/Effect/dmc_skycity_attack1/.lh",             ... ], XXX, XXX);   加载: var effect = actor.mView.root.addChild(Laya.Sprite3D.load...

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

372. 导入微信小游戏的时候 [ 74%]

...esInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.js:13152:11)     at Loader.onLoaded (http://127.0.0.1:65353/game/code.js:13128:10)     at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:...

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

373. 运行报错: TypeError: Cannot read property 'load' of null [ 74%]

...行报错: TypeError: Cannot read property 'load' of null 为何使用Laya.loader.load都会报错 附件 : --> fishHunter.zip 2019-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 引...

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

374. Laya2.6.0 升级至Laya2.8.0 Native环境 加载ttf 字体不生效 [ 74%]

...ont1Req =  new Promise((resolve => {             Laya.loader.load("res/fonts/OPPOSANS-R.TTF", Laya.Handler.create(this, (success: boolean) => {                 if (!success) {                     console.error("OPPOSANS-R ttf 字...

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

375. [LayaAir3]Laya3.0 load 资源加载bug [ 74%]

...片 执行代码说加载不出来资源 这个是怎么回事? 请问下loader如何强制加载一个文件,避免浏览器的缓存 3d物理 刚体旋转bug 2.17到2.12都有 问题状态 最新活动: 2024-01-29 10:10 浏览: 5817 关注: 1 人

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

376. 有没有Loader预加载 相关的注意事项或者文档 在手机上问题有点多 [ 74%]

有没有Loader预加载 相关的注意事项或者文档 在手机上问题有点多 在电脑上Loader预加载方法都很正常  但是一旦打包成APK安装到手机上 有时会发生异常 Laya.loader.load(skins, Laya.Handler.create(this, fGameLoad), Laya.Handler.create(this, onLoading, ...

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

377. 加载解析ByteArray问题 [ 74%]

... stream.close(); 保存为byarr.byte文件后用layaAir加载解析: var loader:Loader = new Loader(); loader.on(Event.COMPLETE, this, loadEnd); loader.load("atlas/byarr.byte",Loader.BUFFER); private function loadEnd(data:*):void { if (data is ArrayBuffer) { var byts:Byte = new Byte(data); byts.po...

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

378. 内存优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 74%]

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

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

379. IDE-显示IDE创建的界面 [ 74%]

...、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。var Loader = Laya.Loader; var Handler = Laya.Handler; var Event = Laya.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码...

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

380. IDE-显示IDE创建的界面 [ 74%]

...、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。var Loader = Laya.Loader; var Handler = Laya.Handler; var Event = Laya.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码...

来源: Laya2.0_示例 发布时间: 20200319