大约有 152 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(52) Laya3.0_api(49) Laya3.0_文档(17) Laya2.0_api(10) laya_api(10) Laya2.0_文档(6) Laya_示例(4) Laya2.0_示例(4)
... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...
来源: Laya3.0_api 发布时间: 20231115
... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...
来源: Laya3.0_api 发布时间: 20231115
...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...
来源: Laya3.0_api 发布时间: 20231115
...k){//该角色是不是已经解锁了 如果没解锁进行赋值 var goldlabel:Label = gold.getChildByName("goldLabel")as Label; goldlabel.text= HostData.array[index].gold;//商城角色购买金额的赋值 }else{ gold.visible =false;//如果已经解锁了 那么关闭金币购买UI } ...
来源: Laya_社区 发布时间: 20180522
...的node节点? 关于js-2D基础-动效模板 官方有没有animation中label事件使用的教程 动画模板只是拖到控件上就可以使用?是不是只有mousedown等事件才能触发?我想做一套动画,比如图片的反转,缩小,这个应该怎么做? 动画模板 Effe...
来源: Laya_社区 发布时间: 20161129
...:"#000000","height":1136}, "nodeParent":-1, "maxID":11, "label":"View", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":2, "child":[ { "x":15, "type":"List", ...
来源: Laya_社区 发布时间: 20210817
...发更高效。(function() { var Box = Laya.Box; var Clip = Laya.Clip; var Label = Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "ri...
来源: Laya_示例 发布时间: 20260815
... 2; Laya.stage.addChild(tree); } } const Box = Laya.Box, Clip = Laya.Clip, Label = Laya.Label; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}...
来源: Laya2.0_示例 发布时间: 20260815
...r) } onTriggerEnter(other: any, self: any, contact: any): void { if (other.label === "cloud") { Laya.Tween.clearAll(this._sp) let effect: Laya.Animation = Laya.Pool.getItemByCreateFun("deathEffect", this.createEffect, this); effect.pos(this._sp.x, this._sp.y); this._sp.parent.addChild(effect); effec...
来源: Laya_社区 发布时间: 20191019
...s.controller = new Laya.Button(this.buttonSkin, "暂停"); this.controller.labelBold = true; this.controller.labelColors = "#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF"; this.controller.size(84, 30); this.controller.on('click', this, this.onClipSwitchState); this.controller.x = (Laya.stage.width - this.controll...
来源: Laya3.0_文档 发布时间: 20251010