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

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

11. Laya2.0构建APP运行闪退,laya.core.js报错 [ 90%]

...信息截图给研发商 TypeError: this.nativeInput.setBgColor is not a function http://stand.alone.version/lib ... 2712: TypeError: this.nativeInput.setBgColor is not a function this.nativeInput.setBgColor(value); ^^ TypeError: this.nativeInput.setBgColor is not a function at Input.<anonymous&g...

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

12. unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function [ 89%]

...出的3D动画模型,导入 laya环境报错: node._setParent is not a function var role3D: Laya.Sprite3D = Laya.loader.getRes("res/lk4.lh") as Laya.Sprite3D; //加载到场景 scene.addChild(role3D);  //此处报错 var ani = role3D.getComponent(Laya.Animator) as Laya.Animator; //播放攻击...

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

13. 屏幕截屏问题 [ 89%]

屏幕截屏问题 Offline.prototype.setSave=function(){ if( window.conch ) { window.conch.captureScreen(function(arrayBuff,width,height){ window.image = window.document.createElement("img"); window.image.putImageData(arrayBuff,width,height); }) } }     E/LayaBox: >>>>>>>>...

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

14. 小程序分享 [ 88%]

...序 但是分享功能加不进去 网上说 Page({ onShareAppMessage: function () { } }) 这样就行了 但是我这边提示 Page is not defined ReferenceError: Page is not defined 我要是单独写 onShareAppMessage: function () { } 他就提示 onShareAppMessage is not defined 我用官网...

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

15. mac 开放域 发布失败 [ 88%]

...,请把此信息截图给研发商 Uncaught Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from null Error: Could not call remote function ''. Check that the function signature is co...

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

16. 关于微信小游戏关系链的问题 [ 87%]

...*****260 赞同来自: Rickshao 、qq771472501  Laya.timer.once(4000,this,function(){ console.log(Browser.window.sharedCanvas)       var rankTexture=new Texture(Browser.window.sharedCanvas);       rankTexture.bitmap.alwaysChange=true; console.log(rankTexture)       LayaUISample.sc...

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

17. DebugPanel报错 [ 85%]

...nel' does not exist on type 'typeof Laya'.' "Laya.DebugPanel.init is not a function" 2018-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 qian 赞同来自: 版本问题 你这个版本还没有这个工具 ...

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

18. 昨天一开始运行好好的,没动别的,运行就开始报错 [ 85%]

... X3005: '_webgl_42c649225184485b': identifier represents a variable, not a function Warning: D3D shader compilation failed with default flags. (ps_5_0)  Retrying with skip validation C:\fakepath(596,34-81): error X3005: '_webgl_42c649225184485b': identifier represents a variable, not a function War...

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

19. 小程序分享问题 [ 85%]

...序 但是分享功能加不进去 网上说 Page({ onShareAppMessage: function () { } }) 这样就行了 但是我这边提示 Page is not defined ReferenceError: Page is not defined 我要是单独写 onShareAppMessage: function () { } 他就提示 onShareAppMessage is not defined 2018-04-11 ...

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

20. 原生js如何调用laya里的方法? [ 85%]

...不知道怎么访问与调用,找了好多的方法没法使用: (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+...

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