大约有 353 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
...n // 这儿加一层限制,所有未知原因的关闭弹窗都不生效 this.closeType = type; Laya.Dialog.manager.close(this); } 2020-07-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cuixueying 相关问题 求指点3d射线碰...
来源: Laya_社区 发布时间: 20170316
...事件 在舞台上添加一个sprite,给sprite添加一个点击事件,this.hitimg.on(Laya.Event.CLICK,this,this.onStart); onStart: _proto.onStart = function(){ console.log(111111122222); $("#fileInput").trigger('click'); } 可以打印数字,但是触发不了input控件。 <input id="f...
来源: Laya_社区 发布时间: 20170626
关于 this.destroy(true); 这个调用是否会把 当前类的所有子对象和自己删除 然后也会清除里面的各种监听事件么?原理大概是怎么样的? 2017-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20171214
...这张图片设置var , 但是我发现在List下设置var是无效的,this.as.width = null; 问题2: 一段文字中设置不同的字体和颜色,我能想到的就是富文本。 但是在List下的富文本好像有点问题,用数组赋予富文本文字无效,或是不显示。 求...
来源: Laya_社区 发布时间: 20180929
...了repeat=true,改变uv时图片没有平铺 private onFrame():void{ if(this.testScrollImg){ if(this.testScrollImg._bitmap && this.testScrollImg._bitmap.source){ this.testScrollImg._bitmap.source.repeat = true; var ss:any = this.testScrollImg._bitmap.source.uv; var uv:any[] = []; uv[0] = s...
来源: Laya_社区 发布时间: 20180321
...复 cuixueying 赞同来自: gls_laybox var IndexView = (function(_super){ this.angle; this.draw; this.box; this.circle; function IndexView(){ IndexView.super(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bit...
来源: Laya_社区 发布时间: 20170807
...元件(iamge)可以单击,但是mouseThrough 为 true 就不行, this._imgHome.mouseThrough = true; this._sprHome.mouseThrough = true; this.panel.mouseThrough = true; 附件 : --> T29_cityTest2048_-_副本.zip 2018-05-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180504
This image has just been released and needs to be restored now 在native运行环境下,打开UI界面时加载的图片资源,在界面关闭时对其做clearTextureRes。 短时间内再次打开该界面就会出现这样的提示。请问这个提示是否有性能影响,该如何避免...
来源: Laya_社区 发布时间: 20181119
...22-10-19 15:01 重写了createView; 将super.createView 替换为 let that=this; Laya.SceneUtils.createComp(a, that, that); that.hitTestPrior = true; 就会移除了,不知道会不会出其他问题T.T wxid_mq3mt1b4zxfq22 • 2022-10-20 16:55 十分感谢,这就下载2.13.2去学习。期待3.0...
来源: Laya_社区 发布时间: 20221018
...); let btn:Laya.Button = LayaUtil.GetChildByPath(this.owner, "CreatePanel/BtnCreate"); btn.clickHandler = Laya.Handler.create(this, this.onClickCreate) this.drawGrid(); } onClickCreate() { // ()...
来源: Laya_社区 发布时间: 20231221