大约有 491 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0062 秒)
Laya_社区(200) Laya3.0_api(175) Laya2.0_api(43) laya_api(39) Laya3.0_文档(14) Laya2.0_文档(11) Laya2.0_示例(7) Laya_示例(2)
... 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_示例 发布时间: 20241117
... 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_示例 发布时间: 20241117
... 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_示例 发布时间: 20241117
... */ this.msgIdNow=1; /** 滚动条效果是否停止 */ this.scrollBarIsStop=false; /** 移动前的上次坐标位置 */ this.moveLastPos = null; /** 列表单元是否已打开 */ this.itemIsOpen=false; /**展开的单元格索引ID */ this.itemOpenId=-1; /**展开的单元格对象 */ this.opened...
来源: Laya2.0_示例 发布时间: 20241117
...ht,默认为居左对齐 labelVAlign 文本标签的垂直对齐模型:top、middle、bottom,默认为居顶对齐 labelPadding 文本标签的边距。格式:上边距、右边距、下边距、左边距 labelStroke 文本标签的描边宽度,以像素为单位。默认值为0,表示...
来源: Laya3.0_文档 发布时间: 20241014
...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
...caleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _onActive _onInActive _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTi...
来源: Laya3.0_api 发布时间: 20231115