大约有 493 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(201) Laya3.0_api(175) Laya2.0_api(43) laya_api(39) Laya3.0_文档(15) Laya2.0_文档(11) Laya2.0_示例(7) Laya_示例(2)
...ent.CLICK,this,cb); btn.size(147,55); btn.name = name; btn.right = 10; btn.top = index * (btn.height + 10); return btn; } onLoaded(){ for (let index = 0; index = ["res/button.png", "res/button.png", "res/button.png"]; private nameArr:Array = ["canvas截图","sprite截图","清理"]; private _canvas:...
来源: Laya2.0_示例 发布时间: 20251130
... boy1 = new Image(); boy1.skin = "../../res/cartoonCharacters/1.png"; boy1.top = 0; boy1.right = 0; boy1.on("click", this, onBoyClick); Laya.stage.addChild(boy1); //实例一个小人,放到右下角,并相对布局 var boy2 = new Image(); boy2.skin = "../../res/cartoonCharacters/2.png"; boy2.bo...
来源: Laya_示例 发布时间: 20251130
... let boy1 = new Image(); boy1.skin = "res/cartoonCharacters/1.png"; boy1.top = 0; boy1.right = 0; boy1.on("click", this, this.onBoyClick); Laya.stage.addChild(boy1); //实例一个小人,放到右下角,并相对布局 let boy2 = new Image(); boy2.skin = "res/cartoonCharacters/2.png"; boy2.botto...
来源: Laya2.0_示例 发布时间: 20251130
... relative;} .msgDiv{font-size: 30px;color: #fff;text-align: center;padding-top: 30px;} </style> </head> <body> <div class="layaDiv"></div> <div class="msgDiv">日志</div> </body> <script src="https://cdn.bootcss.com/jquery ... gt%3B <script type...
来源: Laya_社区 发布时间: 20170427
...击屏幕产生新的小球刚体,击向bridge的随机位置")); label.top = 20; label.right = 20; label.fontSize = 16; label.color = "#e69999"; } dispose() { Laya.Laya.stage.offAll(Laya.Event.CLICK); Laya.Laya.stage.removeChild(this.label); } } new Physics_Physics_Bridge();import { Laya } from "...
来源: Laya2.0_示例 发布时间: 20251130
... */ this.msgIdNow=1; /** 滚动条效果是否停止 */ this.scrollBarIsStop=false; /** 移动前的上次坐标位置 */ this.moveLastPos = null; /** 列表单元是否已打开 */ this.itemIsOpen=false; /**展开的单元格索引ID */ this.itemOpenId=-1; /**展开的单元格对象 */ this.opened...
来源: Laya2.0_示例 发布时间: 20251130
...对齐 标签垂直对齐 labelVAlign 文本标签的垂直对齐模型:top、middle、bottom,默认为居顶对齐 标签边距 labelPadding 文本标签的边距。格式:上边距、右边距、下边距、左边距 标签描边宽度 labelStroke 文本标签的描边宽度,以像素为...
来源: Laya3.0_文档 发布时间: 20251010
...Y scene scrollRect skewX skewY stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroy...
来源: Laya3.0_api 发布时间: 20231102
...caleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyCh...
来源: Laya3.0_api 发布时间: 20231115
...caleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyCh...
来源: Laya3.0_api 发布时间: 20231115