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

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

251. 哪个参数可以查看缓存是否超过50M? [ 68%]

...r参数无效 请教下微信小游戏的内存和数据缓存? 请问下loader如何强制加载一个文件,避免浏览器的缓存 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否有配到代码下载? 请问粒子,shader,动画缓存的优...

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

252. unity制作的粒子特效加载失败 [ 68%]

...ya.core.js:711)     at ResInfo.__proto.event (laya.core.js:483)     at LoaderManager.__proto._endLoad (laya.core.js:13152)     at Loader.onLoaded (laya.core.js:13128)     at EventHandler.__proto.runWith (laya.core.js:711)     at Loader.__proto.event (laya.core.js:483)   在粒子中加了...

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

253. U3D导出两个相同的特效。有一个不显示 [ 68%]

...个粒子特效。在laya中代码如下: this._createSprite3D = 2; Laya.loader.create("res/h5/LayaScene_Effect/Effect.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); Laya.loader.create("res/h5/LayaScene_aixin/aixin.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); onEffect...

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

254. Scene.load加载的时候无法正确的识别ResourceVersion [ 68%]

...n图集加载问题 请问下加载TFF字体要怎么加载呢? 请问下loader如何强制加载一个文件,避免浏览器的缓存 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 laya3D动画无法播放 unity到导出场景加载...

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

255. laya.sprite精灵无缝拼接地图,会出现黑线跟白线,使用laya的2.0.1beta版本 [ 68%]

...加 每张图片都是256*256大小的地图块 this.isShow = true; Laya.loader.load(name,Laya.Handler.create(this,this.drawImg)); }  drawImg():void { var texture:Laya.Texture = Laya.loader.getRes(this.name); this.texture = texture; }  clearImage(): void{ if (this.name != "") { this.isShow = false...

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

256. 图片显示好奇怪 [ 68%]

...实现方式: public function LayaAirDemo() { Laya.init(800,800); Laya.loader.load('logo.png',Handler.create(this,onLoaded)); } private function onLoaded():void { var texture:Texture=Loader.getRes('logo.png'); var sp:Sprite=new Sprite(); sp.graphics.clear();//把上次的绘制清除 sp.graphics.d...

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

257. Uncaught TypeError: Cannot read property 'props' of undefined [ 68%]

...Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15290)     at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:15384)     at EventHandler.__proto.runWith (laya.core.js:1156)     at Loader.__proto.event (laya.core.js:911)     at Loader.__proto.complete (laya.core.js:14555)     at L...

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

258. 资源加载,提示不识别路径 [ 68%]

资源加载,提示不识别路径 //加载3D资源 Laya.loader.create([{url:"LayaScene_Demo/Demo.ls","type":Laya.Scene}, {url:"LayaScene_Scene/Scene.ls","type":Laya.Scene}, {url:"LayaScene_People/People.lh","type":Laya.Sprite3D}], Laya.Handler.create(this,this.on3DComplete)); 报错提示 messag...

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

259. layabox 网络加载异常慢 [ 68%]

...几个文件会超过秒级,有时会20几秒,用的加载方式是 Laya.loader.load( url,Handler.create(this,comFun),null,Loader.IMAGE,0); 这个等待时间有没有大牛搞过啊   附件 : --> 2018-07-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

260. vivo小游戏 LayaIDE2.2.0使用fairygui报错 [ 68%]

...fairygui界面报错, fgui.UIConfig.packageFileExtension = "json"; Laya.loader.load([     { url: "res/Basics_atlas0.png", type: Laya.Loader.IMAGE },     { url: "res/Basics.json", type: Laya.Loader.BUFFER }     ], Laya.Handler.create(this, this.onLoaded)); }  onLoaded(): void {     console...

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