大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
..."123123123"; YIM.appsecret = "3123123"; YIM.host ="api.youme.im"; YIM.identifier = "admin"; let obj = { "UserList": [ { "UserID": "sfg007", "NickName": "sfg007", "Token": "" } ] }; //增加登陆都是这同一个方法 如果以存在账号 就会直接登陆 获取TOKEN,把这个TOKEN发送给H5...
来源: Laya_社区 发布时间: 20170722
...ei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } Laya.stage.addChild(label); return label; } } } //初始化微信小游戏 Laya.MiniAdpter.init(); //程序入口 Laya.init(600, 400, WebGL); ...
来源: Laya_社区 发布时间: 20180529
...nel.itemLabList.renderHandler = new Handler(this,this.OnRankLisLabRender); if(this.backpackPanel.itemLabList.scrollBar.changeHandler == null){ this.backpackPanel.itemLabList.scrollBar.changeHandler = new Handler(this,()=>{ this.backpackPanel.itemList.scrollBar.value = this.backpackPanel.itemLabLi...
来源: Laya_社区 发布时间: 20180515
...bj3d.getChildByName("mod_CiKeZhuangBei_Body_03") as MeshSprite3D; if(ms) { trace("length " + ms.meshRender.sharedMaterials.length); } } 输出: length 0 2017-01-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20170101
...写有问题吗 var newPos:Laya.Vector3 = this.sp3Role.transform.position; if (KeyBoardManager.hasKeyDown(Keyboard.W)) { this.spRole.y -= 1; // newPos.y += 0.1; this.rotateRole(this.rotationW); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 this._camera.convertScreenCoordToOrthograp...
来源: Laya_社区 发布时间: 20220622
...在使用前加一个判断用来规避此问题,代码示例如下: if(!this._particleTemplate)return; var sv: any = ((<ParticleTemplate2D>this._particleTemplate)).sv; 2021-10-10 0 1 分享 微博 QZONE 微信 肖刚 赞同来自: Laya_Fred您好,我有个问题,模拟做愤怒的小...
来源: Laya_社区 发布时间: 20211010
...(text); text.pos(35,5); } private function onChangeSkin():void { curNum++; if(curNum%2!=0) { skeleton.replaceSlotSkinByIndex('head',0,1);//head插槽下,让索引为1的皮肤替换索引为0的皮肤 } else { skeleton.replaceSlotSkinByIndex('head',0,0);//head插槽下,让索引为0的皮肤替...
来源: Laya_社区 发布时间: 20170324
...teVideo, [texture2D]); },true); } updateVideo(tempTexture:Laya.Texture2D){ if(this.htmlvideo.video.readyState === this.htmlvideo.video.HAVE_ENOUGH_DATA) { //更新视频纹理 tempTexture.loadImageSource(this.htmlvideo.video); } } }使用上述代码遇到问题,可以在继续追问。 2024-03-06...
来源: Laya_社区 发布时间: 20240305
...ndow.astar.search(this.graph, start, end, { closest: this.opts.closest }); if (_everyPath && _everyPath.length > 0) { getRealPosition(start, this._everyPath); } }); ``` > 通过3D世界的x,z换算出对应的网格索引,并且通过astar路径再转换为3D世界路径 ```typescript /** * 得...
来源: Laya2.0_文档 发布时间: 20210714
...生效 请教下微信小游戏的内存和数据缓存? 通过laya嵌入iframe 后 原本laya禁止微信浏览器里面的上下滑动,又开始上下滑动了 ProgressBar赋值问题 怎么获得laya.input输入框里面的值 问题状态 最新活动: 2018-03-21 21:14 浏览: 956 关注: 4 ...
来源: Laya_社区 发布时间: 20180321