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

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

101. 鼠标穿透问题 [ 69%]

...e { import laya.display.Sprite; import laya.display.Stage; import laya.net.Loader; import laya.ui.Image; import laya.ui.List; import laya.utils.Handler; import laya.webgl.WebGL; public class Bootstrapper extends Sprite { protected var _list:List; protected var _items:Array; protected var _loadingBg:...

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

102. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 69%]

... content && (this._data=content);         if (this._cache)Loader.cacheRes(this._url,this._data);         this._customParse=false;         this.event("progress",1);         this.event("complete",(this.data instanceof Array)? [this.data] :this.data);     } ...

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

103. 隐藏默认的虚拟键、屏蔽APP窗口弹出脚本错误信息 的问题 [ 69%]

...nction LoadRes() { var resArray = [ {url: "res/atlas/comp.json",type: Laya.Loader.ATLAS}, {url: "res/atlas/newhfh.json",type: Laya.Loader.ATLAS}, {url: "res/atlas/newhfh2.json",type: Laya.Loader.ATLAS}, ]; Laya.loader.load(resArray, Laya.Handler.create(null, LoadResComplete)) } function LoadResCompl...

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

104. Laya.MiniAdpter.downLoadFile缓存图片后,load读到不到资源。 [ 69%]

...ew Laya.Sprite();绘制图形以后,怎么删除释放资源? 请问下loader如何强制加载一个文件,避免浏览器的缓存 为什么有的图片打包,有的图片不打包? 如图 问题状态 最新活动: 2020-09-22 17:07 浏览: 2135 关注: 1 人

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

105. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 69%]

...00631用户 赞同来自:    //加载IDE指定的场景         Laya.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){             this.astcconfig = Laya.loader.getRes("minastc.config.json");             for(var key in this.astcconfig...

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

106. 贝塞尔用法 [ 69%]

...起人 yonghua5416 相关问题 lookAt的用法 Laya.URL.basePath与Laya.loader.load用法 Animation用法疑问 请问关于遮罩的用法,在哪块可以找到? 关于几种文本的区别与用法 const 用法 能否恢复Animation.getGraphicBounds在1.6时的用法 Matrix4x4的decompose函...

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

107. lookAt的用法 [ 69%]

...关于遮罩的用法,在哪块可以找到? Laya.URL.basePath与Laya.loader.load用法 const 用法 关于几种文本的区别与用法 能否恢复Animation.getGraphicBounds在1.6时的用法 贝塞尔用法 关于__JS__的用法有没有相关教程或者例子链接 Matrix4x4的decompose函...

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

108. const 用法 [ 69%]

...关于遮罩的用法,在哪块可以找到? Laya.URL.basePath与Laya.loader.load用法 关于几种文本的区别与用法 能否恢复Animation.getGraphicBounds在1.6时的用法 Matrix4x4的decompose函数用法 clearRes好像没作用,或许我的用法不对 关于__JS__的用法有没...

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

109. 微信小游戏 关于新版本1.7.15beat 资源管理的问题 [ 69%]

...本1.7.15beat 资源管理的问题 问题描述: 1.官方是没有提供loader加载外部资源的策略吗? 如果有怎么使用? 2使用1.7.15beat ide发布版本管理文件被重命名后,本地4M资源中layaNativeDir 里面的资源会加载不到!   我找到的问题: 1.我只能通...

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

110. 打包百度小游戏不能播放声音?是api不支持 还是发生了改变 或者格式问题? [ 68%]

...红框内的修改  if (Browser.onMiniGame){ console.log(1); tSound=Laya.loader.getRes(url); } if (!soundClass)soundClass=SoundManager._soundClass; if (!tSound){ console.log(2); tSound=new soundClass(); tSound.load(url); if (Browser.onMiniGame){ Loader.cacheRes(url,tSound); } }; 2个if判断...

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