大约有 127 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
... private switchAnimation(name:string) { console.log('switchAnimation: ' + this.meshes.length); let anitemplet = this.anies[name]; for (let mesh of this.meshes) { let ani = mesh.getComponen...
来源: Laya_社区 发布时间: 20170608
...vent.CLICK, this, this.click); Laya.stage.addChild(bt); function click() { console.log("??????????"); } 点击之后没有翻译,按钮也没有点击的动画 cuixueying • 2017-04-24 11:07 我们测试是OK的,你的button的skin有提前预加载吗,可以提供一个重现问题...
来源: Laya_社区 发布时间: 20170421
...Tip = "左键点击标题栏可以进行拖动"; } public onOpened():void{ console.log("Dialog页面已打开"); } } 2019-03-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Nothing 相关问题 Laya中的宏编译要怎么用啊 Panel...
来源: Laya_社区 发布时间: 20180620
...efine,materialDefine); } console.log(publicDefine,spriteDefine,materialDefine); } } //递归获取子对象 if (model._children) { for (var i: number = 0; i < model._children.length; i++) { this.compileShader(model._children[i]); } } } 2019-04-04 ...
来源: Laya_社区 发布时间: 20190404
...this.__mouseMove); this.bmp.on(Laya.Event.MOUSE_UP, this, this.__mouseUp); console.log(this.pos0.x); } __mouseMove(e:Event){ this.pos1.x=this.bmp.mouseX this.pos1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLine(this.pos0.x,this.pos0.y,this.po...
来源: Laya_社区 发布时间: 20170831
...//把输入的角度值,转成弧度给_radian存起来。 } onStart() { console.log(this._radian); } } 2.4 是否为私有属性(影响面板可见) 除了前文中提到的hidden这个属性标识参数会影响属性在面板上是否可见之外。private参数也会影响属性在面板...
来源: Laya3.0_文档 发布时间: 20251010
...e3D(); pl.maxLineCount = wayList.length; console.log("线段数量:", wayList.length); this.mainScene.addChild(pl); for (let i = 1; i < wayList.length; i++) { pl.addLine(wayList[i - 1], wayLis...
来源: Laya_社区 发布时间: 20180426
...); s.graphics.drawRect(10, 10, 580, 470, "#000000"); s.pos(0,0); console.log("=mask container=>>", s.width, s.height)//打印出是0,0 this.scrollContainer.mask = s;//scrollContainer是一个有宽高的Box,为什么打印出的s的宽高是0,0,只要设置了mask,c...
来源: Laya_社区 发布时间: 20180720
...有输出报错,自己的项目也没有日志中也没有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