大约有 1,136 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0138 秒)
Laya_社区(1009) Laya3.0_api(38) Laya2.0_文档(35) Laya3.0_文档(23) laya_api(15) Laya2.0_api(15) Laya2.0_示例(1)
...以通过相对布局属性(top和bottom),把背景拉到全屏以及按钮拉到屏幕相对位置显示。实现各个屏幕下都做到完美的全屏适配。 ##### 3.2.2 保高适配模式fixedheight fixedheight保高模式就是在保障设计高的内容一定全屏显示的等比缩放...
来源: Laya2.0_文档 发布时间: 20210715
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Inherited from UIComponent.toolTip Defin...
来源: Laya3.0_api 发布时间: 20231115
...ene.open和Scene.closeAll 项目设置: ui结构:Laya.scene添加几个按钮并设置runtime逻辑类(目前版本拖入JS到runtime如果JS文件路径在Scrips下需要加上./否则编译报错),新建一个LayaIde.scene场景 代码结构:Main.js和上面不一样,不做任何更...
来源: Laya_社区 发布时间: 20181028
... Parameters Default value type: string = null 如果是点击默认关闭按钮触发,则传入关闭按钮的名字(name),否则为null。 Returns void onDestroy onDestroy(): void Inherited from Node.onDestroy Defined in laya/display/Node.ts:204 销毁时执行 此方法为虚方法,使用时...
来源: Laya3.0_api 发布时间: 20231115
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Inherited from UIComponent.toolTip Defin...
来源: Laya3.0_api 发布时间: 20231102
... Parameters Default value type: string = null 如果是点击默认关闭按钮触发,则传入关闭按钮的名字(name),否则为null。 Returns void onDestroy onDestroy(): void Inherited from Node.onDestroy Defined in laya/display/Node.ts:204 销毁时执行 此方法为虚方法,使用时...
来源: Laya3.0_api 发布时间: 20231115
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Defined in laya/ui/UIComponent.ts:285 ...
来源: Laya3.0_api 发布时间: 20231115
...点的范围,编辑模式自动退出,再次编辑需要再次点击该按钮。演示效果如动图12-7所示: (动图12-7) 3.3 矩形碰撞体 BoxCollider 公共的属性说明在上文的碰撞体基类属性,本节不再重复介绍 3.3.1 宽高 Size 矩形碰撞体,是封闭的直角...
来源: Laya3.0_文档 发布时间: 20251010
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Inherited from UIComponent.toolTip Defin...
来源: Laya3.0_api 发布时间: 20231115
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Inherited from UIComponent.toolTip Defin...
来源: Laya3.0_api 发布时间: 20231115