大约有 128 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
...有输出报错,自己的项目也没有日志中也没有update里面的console.下面是demo跟截图 附件 : --> coin_scroll_vivo.rar 2019-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 kylin 赞同来...
来源: Laya_社区 发布时间: 20191130
...(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var __extends = (this && this.__extends) || function(d, b) { for (var p in b) { (b.hasOwnProperty(p)) && (d[p] = b[p]); } function __() { this.constructor = d; } d.p...
来源: Laya_社区 发布时间: 20170619
...yaMaxUI.ts" let fileContent = readFile(layaMaxUI_Path); // console.log("读取文件",fileContent) if (fileContent ) { fileContent = fileContent.replace(/Laya\.UICodeView/g,"UICodeView"); fs.writeFileSync(layaMaxUI_Path, fileCon...
来源: Laya_社区 发布时间: 20191017
...f='"+payurl+"' target='_blank'>click</a>").get(0); console.log("aaa",a); var e = document.createEvent('MouseEvents'); e.initEvent('click',true,true); a.dispatchEvent(e); a.remove(); } </script> qian • 2018-03-21 14:00 直接附件上传一下项目可以么 ...
来源: Laya_社区 发布时间: 20180321
...888启动服务器,浏览器访问localhost:8888 等界面显示之后在console中输入test() 这会创建两张牌,第一张牌在右侧,第二张在左侧。 第一张牌使用了localRotation,可以看到旋转无效了,console中的matrix也可以看到是不变的 第二张牌直接...
来源: Laya_社区 发布时间: 20170323
.../layaMaxUI.ts" let fileContent = readFile(layaMaxUI_Path); console.log("读取文件",fileContent) if (fileContent ) { fileContent = fileContent.replace(/Laya\.UICodeView/g,"UICodeView"); fs.writeFileSync(layaMaxUI_Path, fileCon...
来源: Laya_社区 发布时间: 20190128
...:\COCOS\cocos2d-x-3.17.2\templates;E:\COCOS\cocos2d-x-3.17.2\tools\cocos2d-console\bin;E:\COCOS\Python\Python27;E:\COCOS\apache-ant-1.10.7\bin;C:\Users\Administrator\AppData\Roaming\npm;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files (x86)\Egret\Egret Wing 3\bin ...
来源: Laya_社区 发布时间: 20200211
.../span>"; ele.on(Laya.Event.LINK, this, (event: Laya.Event) => { console.log(event); }); Laya.stage.addChild(ele); zyy • 2021-11-09 13:51 @Laya_Fred: 这段代码 很简单 只是点击 输出 event 如果 把Laya.stage.y 向下调整 就会导致它点击区域错误 zyy • 2021-11-09 ...
来源: Laya_社区 发布时间: 20211105
....2); sprite3D.once(Laya.Event.HIERARCHY_LOADED, null, function(sprite) { //console.log(scene.numChildren+","+sprite._childs.length); setMeshParams(sprite, Laya.StandardMaterial.RENDERMODE_OPAQUE, new Laya.Vector4(3.5, 3.5, 3.5, 1.0), new Laya.Vector3(0.6823, 0.6549, 0.6352), new Laya.Vector2(25.0, 2...
来源: Laya_社区 发布时间: 20170707
...ass page2 extends Laya.Scene { constructor() { super() } onOpened (args) { console.log(args) } } 附件 : --> 2018-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 感谢分享~! ...
来源: Laya_社区 发布时间: 20181124