大约有 2,394 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0058 秒)
...多代码,直接拿来用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
...中报错, 报错如下: 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
...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
Camera.viewportToRay中origin与direction相等问题 目前使用的是LayaAir2.0版本做的以下内容. 我在一个脚本里继承了Laya.Script然后写了以下方法: 主要目的就是做射线碰撞检测. onStageMouseDown(): void { this._rayPt.x = Laya.MouseManager.instance.mouseX; this....
来源: Laya_社区 发布时间: 20190319
...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
...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
Uncaught Can not find class EffectAnimation undefined 假设我今天创了一个叫QQQ的EffectAnimation,放入UI某个元件底下,运行时会报错误 Uncaught Can not find class ui.test.QQQUI undefined,我根本沒有需要創建腳本來操作事情,為什麼需要找查class? 2018-...
来源: Laya_社区 发布时间: 20181126
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
...除了) 4、发现tower_111002.lh 这个资源显示 found the file in the package 5、发现tower_111002.lh 这个资源所依赖的其他资源,全部都显示为 Download 6、试了其他几个资源情况也相同,从缓存中只有.lh文件能够found the file in the package ...
来源: Laya_社区 发布时间: 20200512
...read property 'visible' of null at RenderSprite3D.__proto._childs (Main.max.js?r0.22069932534774384:33147) at RenderSprite3D.__proto._graphics (Main.max.js?r0.22069932534774384:33079) at NpcView.__proto.render (Main.max.js?r0.22069932534774384:54362) at RenderSprite3D.__proto...
来源: Laya_社区 发布时间: 20170913