大约有 4 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0025 秒)
...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
...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