大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0086 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
...llBarSkin = "";//隐藏列表的滚动条皮肤 this.list.elasticEnabled = true;//设置橡皮筋为ture this.list.scrollBar.elasticBackTime = 200;//设置橡皮筋回弹时间。单位为毫秒 this.list.scrollBar.elasticDistance = 50;//设置橡皮筋极限距离 // this.list.scrollBar.autoHide = ...
来源: Laya3.0_文档 发布时间: 20251010
...来自: 我也遇到过这个问题 主域里边要写Laya.MiniAdpter.init(true) 子域里边要写Laya.MiniAdpter.init(true, true) 这样解决了,你可以试试。 2018-06-29 0 2 分享 微博 QZONE 微信 158*****395 赞同来自: 解决了吗,我也遇到了, 2018-07-18 0 0 分享 微博 QZ...
来源: Laya_社区 发布时间: 20180507
...题的!赏金给我吧 var img1:Sprite = new Sprite; img1.mouseThrough = true; img1.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png', 100, 100, 90, 90); Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK, this, function(name) { console.log(name); }, ['图1']); var im...
来源: Laya_社区 发布时间: 20180621
...一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWrap = true; text.valign = "middle"; text.align = "center"; Laya.stage.addChild(text); } } new Timer_CallLater();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebG...
来源: Laya2.0_示例 发布时间: 20251209
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
List第二次选择问题 this.game_list.selectEnable = true;设置成可选后,会导致第二次选择时不会触发this.game_list.selectHandler;有解决方法吗 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20170308
...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...
来源: Laya3.0_api 发布时间: 20231115
...createConchModel():*[override] BaseCamera destroy(destroyChild:Boolean = true):void[override] BaseCamera destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Fu...
来源: laya_api 发布时间: 20170929
... Public Properties PropertyDefined By autoScrollToBottom : Boolean = true[static] 是否自动滚动到底部,默认为trueLog maxCount : int = 50[static] 最大打印数量,超过这个数量,则自动清理一次,默认为50次LogPublic Methods MethodDefined By clear():void[sta...
来源: Laya2.0_api 发布时间: 20190513