大约有 300 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0089 秒)
...n laya/ui/UIComponent.ts:134 implements 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更...
来源: Laya3.0_api 发布时间: 20231115
...属性值。 button.x = 0;//设置 button 对象的属性 x 的值,用于控制 button 对象的显示位置。 button.y = 0;//设置 button 对象的属性 y 的值,用于控制 button 对象的显示位置。 this.addChild(button);//将 button 添加到显示列表。 }; Laya.class(Dialog_Inst...
来源: Laya3.0_api 发布时间: 20231115
...n laya/ui/UIComponent.ts:134 implements 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更...
来源: Laya3.0_api 发布时间: 20231115
...n laya/ui/UIComponent.ts:134 implements 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更...
来源: Laya3.0_api 发布时间: 20231115
...n laya/ui/UIComponent.ts:134 implements 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更...
来源: Laya3.0_api 发布时间: 20231115
...n laya/ui/UIComponent.ts:134 implements 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更...
来源: Laya3.0_api 发布时间: 20231115
...n laya/ui/UIComponent.ts:134 implements 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更...
来源: Laya3.0_api 发布时间: 20231115
...n laya/ui/UIComponent.ts:156 implements 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更...
来源: Laya3.0_api 发布时间: 20231102
...以下代码更改状态: setRotation(90); setScale(2); setPosition(30); 控制台的打印结果是: rotation: 90scale: 1position: 0 rotation: 90scale: 2position: 0 rotation: 90scale: 2position: 30 update被调用了三次,并且最后的结果是正确的,但是前面两次调用都是不需...
来源: Laya3.0_文档 发布时间: 20251010
...te Defined in laya/map/TiledMap.ts:559 通过纹理索引,生成一个可控制物件 Parameters index: number 纹理的索引值,默认从1开始 width: number height: number Returns GridSprite getTexture getTexture(index: number): TileTexSet Defined in laya/map/TiledMap.ts:521 得到一块指...
来源: Laya3.0_api 发布时间: 20231115