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

大约有 1,614 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)

31. 针对2.0.0 beta5 setLoadingPage 做增强 [ 94%]

...的同时执行异步方法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this._loadScene && url === this._...

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

32. laya.net.Loader_API3.0 [ 94%]

...dedMap preLoadedMap typeMap Accessors loading Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearTextureRes clearUnLoaded event fetch getRes hasListener load loadPackage off offAll offAllCaller on once cacheRes clearRes clearResByGroup createNodes getAtlas getBaseTexture getRes getTextu...

来源: Laya3.0_api 发布时间: 20231115

33. laya.net.Loader [ 94%]

...der  typeMap : Object[static] 文件后缀和类型对应表。Loader  url : String[read-only] 加载地址。LoaderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  cacheRes(url:String, data:*):void[static] 缓存资源。 Loader  clearRes(url:Str...

来源: laya_api 发布时间: 20170929

34. 如何清理url头像缓存 [ 94%]

如何清理url头像缓存 http://nb.618mj.com/mobile/use ... obile 这是原地址,如果这个头像变动后 url是不变的,如何清除这个缓存得到新的头像,用 Laya.loader.clearRes(url),没效果 2017-09-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

35. laya.net.LoaderManager_API3.0 [ 94%]

...ctor Properties maxLoader retryDelay retryNum Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearResByGroup clearTextureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off offAll offAllCaller on once setGroup Constructors constructor new LoaderManager(): LoaderManag...

来源: Laya3.0_api 发布时间: 20231102

36. 在ide中创建的一个movieClip,在代码中改变该mc的url,报错:this.mc.url is not a function [ 94%]

在ide中创建的一个movieClip,在代码中改变该mc的url,报错:this.mc.url is not a function 附件 : --> 2018-03-06 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 好的 有问题...

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

37. 个人笔记:失焦或静音状态下播放背景音乐无效的解决方案 [ 94%]

...播放背景音乐无效的解决方案  SoundManager.playSound=function(url,loops,complete,soundClass,startTime){ (loops===void 0)&& (loops=1); (startTime===void 0)&& (startTime=0); if(!url) return null; SoundManager._recoverWebAudio(); url=URL.formatURL(url); if (url!=SoundManager...

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

38. 背景音乐问题 [ 94%]

...-14 0 5 分享 微博 QZONE 微信 williamjie 赞同来自: 第一次输入url播放时 可以正常播放    当再收到服务器消息时,再播放同一个url 就不行了 是我代码写错了吗?   var soundControl = true; // 背景乐开关 function onPlayBgMusic(url, loop, rate) {  ...

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

39. layabox有API直接从url生成二维码加载到精灵吗 [ 94%]

layabox有API直接从url生成二维码加载到精灵吗 layabox有API直接从url生成二维码加载到精灵吗 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自: 你可以...

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

40. layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 [ 94%]

layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 问题是这样产生的: 调用scene.destroy销毁场景后,然后调用scene.gc去回收资源,然后调用scene.open打开关闭的场景发现原来图集的资源没有显...

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