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

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

231. 求助。资源加载问题,按照官方demo出现问题 [ 68%]

...会提示laya.core.js:12752 Uncaught TypeError: node._setParent is not a function 具体代码如下:    Laya.Sprite3D.load(url, Laya.Hander.create(this, this.onLoadComplete)) (不会报错)    Laya.loader.create(url, Laya.Hander.create(this, this.onLoadComplete))(会报错)   private onLoad...

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

232. 我想在动画播放结束后加一个事件,怎么加? [ 68%]

... 赞同来自: geo 监听_ani的完成事件 _ani.on(EVENT.COMPLETE, this, function(){}); 2018-04-28 1 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 谢谢! 2018-05-02 0 0 分享 微博 QZONE 微信 AlexNine 赞同来自: 可以直接在play后面加个回调 function playAni(aniPath,fn=fa...

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

233. macOS系统运行layaair-cmd resourceVersion报错 [ 68%]

...load (module.js:565:32)     at tryModuleLoad (module.js:505:12)     at Function.Module._load (module.js:497:3)     at Function.Module.runMain (module.js:693:10)   请问这个怎么解决,谢谢。 2018-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

234. shader报错 [ 68%]

...加载本地图片都报错 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? laya2 发布微信开放域工程,用微信开发者工具打开报错 问题状态 最新活动: 2021-11-26 17:06 浏览: 4468 关注: 3 ...

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

235. LAYA IDE 设置语言包路径后卡死 [ 68%]

...把此信息截图给研发商 Uncaught TypeError: text.replace is not a function TypeError: text.replace is not a function     at Input.__proto.parseLines (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:60001:19)     at Input.__proto.typeset (file:///D:/LayaAirIDE/resources/...

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

236. graphics的setAlpha在pc端正常使用,到layaNative就报错 [ 68%]

...用,到layaNative就报错 如题,报错是说this._saveToCmd is not a function 2018-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同来自: 提供一下你的demo 2018-09-13 0 0 分享 微博 Q...

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

237. laya2.0 接入新的开放域功能,报错 [ 68%]

...mPlugin.game_plugin_init(3); 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 微信小游戏编译报错 laya2 发布微信开放域工程,用微信开发者工具打开报错 laya2.0 3d...

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

238. matter中更换texture [ 68%]

...//事件回调---collisionStart Matter.Events.on(engine, 'collisionStart', function(event) { var pairs = event.pairs; // change object colours to show those ending a collision for (var i = 0; i < pairs.length; i++) { var pair = pairs[i]; pair.bodyA.render.fillStyle = '#2A2CB2'; pair.bodyB.render....

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

239. SpineSkeleton.source置空报错 [ 68%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function module写法的模块无法使用,其他地方使用会报错 问题状态 最新活动: 2023-06-07 16:23 浏览: 2843 关注: 2 人

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

240. Unity导出插件Shader报错。 [ 68%]

...alid subscript '_ShadowCoord' 'unitySampleShadow': no matching 1 parameter function at Assets/LayaAir3D/LayaShader/CGIncludes/LayaBlinnPhongFA.cginc(104) (on d3d11) Compiling Vertex program with DIRECTIONAL SHADOWS_SCREEN LIGHTMAP_ON DisableLighting Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS ...

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