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

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

221. unity导出场景加载问题 [ 76%]

...显示贴图 IDE1.7.8 json图集加载问题 unity中的模型导出后在laya中显示不正常 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 从unity导出的场景透贴和模...

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

222. 1.6.2打包的图集不能使用 [ 76%]

...loader.load之后,总是显示longtime  。。在断点的情况下。 Laya.loader.load([{url: "res/atlas/longCard.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); 在onLoaded var textrue = Laya.loader.getRes(longcard/xxx.png)总是undedined。。。求解。。。 相关链接 :...

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

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

...圾对象,有效的提高程序的运行速度和稳定性**。 #### 1.1 LayaAir引擎的对象池类 LayaAir引擎提供了对象池类[laya.utils.Pool](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Pool),用于对象的存...

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

224. Laya.URL.basePath与Laya.loader.load用法 [ 76%]

Laya.URL.basePath与Laya.loader.load用法 你好,layabox小白一枚,求教Laya.URL.basePath与Laya.loader.load用法,谢谢 2016-12-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: ...

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

225. 调试正常但发布后,index.html在浏览器打开出现跨源受限的问题 [ 76%]

...g policy: Invalid response. Origin 'null' is therefore not allowed access. laya.core.min.js:6 [warn]Retry to load: E:/laya/layatest/release/layaweb/1.0.0/res/img/image.png index.html:1 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response...

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

226. IDE发布之后,在res下并没有任何资源,这是什么情况啊? [ 76%]

...复被折叠 要回复问题请先登录 发起人 Buzhihew 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 Layaair IDE的帧属性面板不见了 Lay...

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

227. js预加载声音报错 [ 75%]

js预加载声音报错 Laya.loader.load(slot_sound_res, Laya.Loader.SOUND, Handler.create(this, onSoundProgress, null, false)); //游戏资源加载进度函数 function onSoundProgress(pro) { console.log("sound" + pro); } 这样写哪里错了? 2016-12-16 添加评论 免费帖 --> 分享 微...

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

228. 有关Laya3D碰撞检测疑问 [ 75%]

有关Laya3D碰撞检测疑问 module test { export class Test { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitAllInfo: Array<Laya.RaycastHit>;  private camera: Laya.Camera; private...

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

229. Laya.loader.create和Laya.loader.load能混合用? [ 75%]

Laya.loader.create和Laya.loader.load能混合用? 如果3d是用Laya.loader.create 2d用的是Laya.loader.load那么问题来了 我有点懵逼,3d里面不也有2d资源么。那我究竟是用create还是load。如果分开。。oncomplete时候不得再做一层判断? 2019-01-29 添加...

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

230. 按照打地鼠教程来无法正常加载资源 [ 75%]

... Main(){             //初始化引擎             Laya.init(1136, 640);             Laya.stage.bgColor = "#ffcccc";             var resArr:Array = [                 {res:"res/atlas/ui.atlas"},                 {res:"res/...

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