大约有 9 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
...params.host; var port = params.port; var uid = params.session_id; var user_name = params.user_name; // //var url = 'ws://' + host; //if(port) { // url += ':' + port; //} this.handshakeBuffer.user = params.user; this.handshakeCallback = params.handshakeCallback; this.initWebSocket(host,port, cb); } p...
来源: Laya_社区 发布时间: 20180119
..._layerMap = {'ui':5} public static assignCullingMask(target){ let layerNodeName = ''; let prefix = 'culling_mask='; for(let i = 0; i < target.numChildren; ++i){ let child = target.getChildAt(i); if(child.name.indexOf(prefix) == 0){ layerNodeName = child.name.replace(prefix,''); child.destroy(); b...
来源: Laya_社区 发布时间: 20200110
...一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 LayaAir 2.1.0beta报错! 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 LayaAir 2.0 TS版编译出错GameConfig跟创建...
来源: Laya_社区 发布时间: 20170215
...loadPage let loadPage = new LoadPage() loadPage.preload() this.getChildByName('text').on(Laya.Event.CLICK, this, function () { // 切换打开场景方式 查看效果不同 loadPage.openScene('page2.scene', this.getUserInfo, true, [1, 2, 3]) // loadPage.openScene2('page2.scene', this.getUserInfo, t...
来源: Laya_社区 发布时间: 20181124
...nt:75a15c8ae08fcf4a65640c78c2578b4181749a28fb6e405f2c308bac5f091db1 Module name:com.layabox.game Version:1.0 VersionCode:1 PreInstalled:No Foreground:No Pid:19883 Uid:20010080 Reason:TypeError Error name:TypeError Error message:Cannot read property getContext of undefined Stacktrace: Cannot get Sour...
来源: Laya_社区 发布时间: 20250106
...function IsLand() { // 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = new Sprite(); // 城...
来源: Laya_社区 发布时间: 20170720
...库 三、laya项目文件夹下 .vscode/launch.json 添加配置 { "name":"compile", "type": "node", "request": "launch", //nodejs 可执行文件 "runtimeExecutable": "D:\\workspace\\layabox\\node-v7.9.0-win-x64\\node.exe", //使用Laya编辑器下的 gulpjs "program": "D:\\workspace\\layabo...
来源: Laya_社区 发布时间: 20200607
...I: 'arm' 08-14 10:57:49.418 17175-17175/? A/DEBUG: pid: 22228, tid: 22354, name: Thread-5336 >>> com.yywgames.wpby.cn <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xffffffff 08-14 10:57:49.521 17175-17175/? A/DEBUG: r0 ae67f0b0 r1 00000000 r2 ae67f0b...
来源: Laya_社区 发布时间: 20180814
...6.806 1811-1811/? E/PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC 2018-11-26 18:31:46.807 1811-1811/? E/PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC 2018-11-26 18:31:47.145 783-848/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total pr...
来源: Laya_社区 发布时间: 20181126