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

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

781. Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget [ 67%]

...相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 什么情况下出现的,有重现的例子吗? 2017-03-07 0 3 分享 微博 QZONE 微信 Sunny_zhao 赞同来自: 这是我的例子。希望可以帮我看看图集的问题,谢谢 longCard.zip 2017-...

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

782. 怎样获取浏览器地址传过来的GET参数 [ 67%]

...多代码,直接拿来用private function getGet():Object { var url:String = __JS__('window.document.location.href.toString()'); var u:* = url.split("?"); if (u[1] is String) { u = u[1].split("&"); var gets:Object = {}; for (var i:String in u) { var j:String = u[i].split("="); gets[j[0]] = j[1...

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

783. 微信小游戏发布后,在开发者工具中报错, [ 67%]

...中报错, 报错如下: VM819:1 gameThirdScriptError Unexpected token in JSON at position 787;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 787 at JSON.parse (<anonymous>) at Function.e.getJson (http://127.0.0.1:37389/game/code.js:1:461434) at...

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

784. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 67%]

...cketmanger{ private static var _I:Socketmanger; public static function get Instance():Socketmanger { if(_I==null)_I=new Socketmanger(); return _I; } private static var socket:Socket=null; private var list:Array=; public function Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, t...

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

785. Camera.viewportToRay中origin与direction相等问题 [ 66%]

Camera.viewportToRay中origin与direction相等问题 目前使用的是LayaAir2.0版本做的以下内容. 我在一个脚本里继承了Laya.Script然后写了以下方法: 主要目的就是做射线碰撞检测. onStageMouseDown(): void { this._rayPt.x = Laya.MouseManager.instance.mouseX; this....

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

786. [LayaAir2]Laya2.13.8导出ohos项目不支持armeabi-v7a吗 [ 66%]

...,只支持arm64-v8a。导致我打包到鸿蒙的折叠虚拟机上会有In the module named entry, the Abi type supported by the device does not match the Abi type configured in the C++ project.报错,应该是因为不支持armeabi-v7a的原因? 2025-11-18 添加评论 免费帖 --> 分享 ...

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

787. android 使用LayaAir Native SDK 0.9.13打包程序闪退 [ 66%]

...Name = com.bet51 01-13 03:14:15.044: E/ExtMediaPlayer-JNI(8475): env->IsInstanceOf fails 01-13 03:14:15.044: E/MediaPlayer-JNI(8475): JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0 01-13 03:14:15.044: E/ExtMediaPlayer-JNI(8475): env->IsInstanceOf fails 01-13 03:14:15.044: E/MediaPlayer-JNI(8...

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

788. 引擎1.7.6-beta,0.9.6的layanative,ios打包,真机iphone6, 发起websocket连接时失败 [ 65%]

...tgate=70251b50 2017-06-04 15:36:36.246364+0800 lsj[4079:795703] WebSocket::init m_host: XXX.XXX.XXX.XXX, m_port: XXXXX, m_path: / [1496561796:2481] NOTICE: Initial logging level 7 [1496561796:2482] NOTICE: Libwebsockets version: 1.6.0 3ca4bac [1496561796:2482] NOTICE: IPV6 compiled in and enabled [1...

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

789. Uncaught Can not find class EffectAnimation undefined [ 65%]

Uncaught Can not find class EffectAnimation undefined 假设我今天创了一个叫QQQ的EffectAnimation,放入UI某个元件底下,运行时会报错误 Uncaught Can not find class ui.test.QQQUI undefined,我根本沒有需要創建腳本來操作事情,為什麼需要找查class? 2018-...

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

790. Unhandled promise rejection: Error: Cannot navigate to invalid URL [ 65%]

Unhandled promise rejection: Error: Cannot navigate to invalid URL ******** Unhandled error in debug adapter - Unhandled promise rejection: Error: Cannot navigate to invalid URL     at Client.processMessage (/Applications/LayaAirIDE.app/Contents/Resources/app/extensions/laya-debug2/node_modules/n...

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