大约有 36 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
...this, () => { ufo.play("ludo_ufo_feixing", true); }); ufo.on(Laya.Event.LABEL, this, (e) => { if (e.name == "xiaoshi") { ufo.offAllCaller(this); // ufo.removeSelf(); } }); })); } genSpine(url, handler: Laya.Handler) { var templet = new Laya.SpineTemplet(Laya.SpineVersion.v4_0); templet....
来源: Laya_社区 发布时间: 20220530
...因? 如何清除sharedCanvas上一次绘制的内容 资源编辑器的label控件的垂直居中有问题 fixed_height时不居中 对齐模式选居中 没效果 Laya2.20bata4版本使用HTMLDivElement报错 drawTexture时,Matrix对象,a=-1,无法实现水平翻转 问题状态 最新活动...
来源: Laya_社区 发布时间: 20190227
...private hr: HttpRequest; private logger: Laya.TextArea; private text: Laya.Label = new Laya.Label(); onAwake(): void { this.initUI(); this.connect(); } /** * 初始化UI */ private initUI(): void { this.showLogger(); this.text.text = "请查看源码和调试信息,了解如何使用"; this.text.c...
来源: Laya3.0_文档 发布时间: 20251010
...Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } ``` 上述代码运行效果如动图2所示:  (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?...
来源: Laya2.0_文档 发布时间: 20210714
...ton相关的属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } } ``` 上述代码运行效果如动图2所示:  (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.h...
来源: Laya2.0_文档 发布时间: 20210715
...不同效果区别,如动图12-5所示: (动图12-5) 3.2.6 标签 label 碰撞体的标签,用于脚本物理碰撞事件中的碰撞体识别,当自定义了标签名后,如图12-6所示。 (图12-6) 应对的示例代码: onTriggerEnter(other: any): void { //other是碰撞到的碰...
来源: Laya3.0_文档 发布时间: 20251010