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

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

91. addToTransparentRenderQueue 中 'add' of undefined [ 59%]

...cene undefined Laya2.1.0 JS调用Java PlatformClass undefined api readFile success callback function undefined Cannot read property 'call' of undefined 生成微信小游戏时各种"undefined"(已解决) 运行编译 报错Cannot read property 'on' of undefined Cannot read property 'call' of undefi...

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

92. laya中怎么实现微信接口的调用和成功或者失败时回调的处理 [ 59%]

...或者失败时回调的处理 比如说获取授权或者获取openid时success中的回调参数咋写呢,报错的说 2018-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: 你的...

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

93. 在微信开发者工具里面运行时候报错 [ 59%]

...meThirdScriptError Unexpected number in JSON at position 1;at api readFile success callback function SyntaxError: Unexpected number in JSON at position 1 at JSON.parse (<anonymous>) 附件 : --> 2018-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

94. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 59%]

...nt = arr.length; var loadedCount = 0; var totalSize = 0; var items = ; var success = true; for (var i = 0; i < itemCount; i++) { var item = arr[i]; if ((typeof item == 'string')) item = {url: item, type: type, size: 1, priority: priority}; if (!item.size) item.size = 1; item.progress = 0; totalSi...

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

95. Animator无法监听complete [ 59%]

...r.getComponentByType(Laya.Animator) as Laya.Animator; this.ani.addClip(clipSuccess, this.ANIM_SUCCESS_IDLE_NICK,0,34); this.ani.addClip(clipFailed, this.ANIM_FAILED_IDLE_NICK,0,34); this.ani.addClip(clipCardInHand, this.ANIM_CARD_IN_HAND_IDLE_NICK,0,34); //监听动画完成 this.ani.on(Laya.Event.C...

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

96. 上传appstore 出现 警告 [ 58%]

... one or more issues with a recent delivery for your app, Your delivery was successful, but you may wish to correct the following issues in your next delivery: ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/do...

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

97. 加载html的问题 [ 58%]

...; 这样写怎么报错了:gameThirdScriptError undefined;at api request success callback function undefined 说没有成功的回调函数,这要怎么写呢,官网案例中也没有回调函数啊 2018-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

98. 安卓无法调用后置摄像头 [ 57%]

... } navigator.mediaDevices.getUserMedia(userMediaConstraints).then(function success(stream) { let status = true; LayaAir3D.video.srcObject = stream; LayaAir3D.video.play(); /** 等到视频流准备就绪 */ var interval = setInterval(function () { if (!LayaAir3D.video.videoWidth) { return; } laya.ut...

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

99. 用微信小游戏测试,载入一个3D的角色.lh报错了,LayaAir的本地测试OK [ 57%]

...must be Scene,please use other function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. 2018-01-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

100. 小游戏 当前页面未设置分享 [ 57%]

...法:   wx.showShareMenu(); wx.updateShareMenu({ withShareTicket:true, success:function(){ wx.onShareAppMessage();//分享操作,是不是解决你的问题了 } 这个接口需要在初始化游戏的时候提前设置下,然后在转发页面才会显示转发按钮 2018-03-31 0 1 分享 微...

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