大约有 97 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...,右键属性,在 目标(T):中加一段指令 --auto-open-devtools-for-tabs,点击确定。记住要用空格隔开。 4.复制一下这个路径 5.我们知道,layaide的chrome运行路径是可以在launch.json中修改的,所以需要从这里改。 我们在自己的项目中找到...
来源: Laya_社区 发布时间: 20200412
...2.0编辑器,经常报OpenGL的一个错误,报错如下:[.Offscreen-For-WebGL-0DB79150]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 [file:///E:/Laya_APP_Hall/Laya_Chess_App/bin/index.html],然后界面会闪烁黑一下,研究好...
来源: Laya_社区 发布时间: 20181213
...源设置的相关代码var temp:Array = []; var skillInfoVO:SkillInfoVO; for(var i:int = 0;i<20;i++) { skillInfoVO = new SkillInfoVO(); skillInfoVO.Name = "数据源" + i; skillInfoVO.Lv = i; skillInfoVO.Color = 1; temp.push(skillInfoVO); } list.array = temp;2、SkillInfoVO的相关代码public ...
来源: Laya_社区 发布时间: 20161223
... public static setGray(node: Laya.Node, set: boolean) { for (var i = 0; i < node.numChildren; i++) { let sprite = node.getChildAt(i) as Laya.Sprite; if (sprite) { //if (sprite instanceof Laya.Text) { ...
来源: Laya_社区 发布时间: 20170717
...ts.Event):void { var touches: Array<any> = e.touches; if (touches) { for(let i=0;i<touches.length;i++){ let t =touches[i]; let nameIndex =e.touchId + "_" + i; console.log(nameIndex+":"+e.type); } } } 之能收到down和move! 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20181102
...载完atlas文件后会执行Loader.as的onLoaded中的如下代码 }else{ for (name in frames) { obj = frames[name];//取对应的图 tPic = pics[obj.frame.idx ? obj.frame.idx : 0];//是否释放 [i][b]url = URL.formatURL(directory + name); [/b][/i] cacheRes(url, Texture.create(tPic, obj.frame.x, o...
来源: Laya_社区 发布时间: 20180415
...era = scene.addChild(new Laya.VRCamera( 0.03,0, 0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0.3, 0.3, 0.6)); camera.transform.rotate(new Laya.Vector3(-12, 0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(VRCameraMoveScript); /* var camera = (s...
来源: Laya_社区 发布时间: 20170707
...P Configure Display Language 安装中文语言包 Extensions 搜索 debug for Chrome 安装 修改 compile.js中的sourcemap属性修改为true 或者搜索sourcemap:修改false为true 修改config.json中sourceMap属性为true 打开main.ts onConfigLoaded() console.log('helloworld'); F9...
来源: Laya_社区 发布时间: 20200818
...this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs electron npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging o...
来源: Laya_社区 发布时间: 20171124
...用,然后直接this.linkJson.XXX进行读取的,如果数值都都是for循环后再.XXX,也没有地方设置编码格式啊 2018-01-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 liwenhua 相关问...
来源: Laya_社区 发布时间: 20180115