• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 187 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)

141. 路径显示会添加DrawCall,每增加一条路径都会添加,有什么办法降DrawCall [ 39%]

...StartMove,[len]); add_other.clickHandler = new Handler(this,OnShow); // aa.dataSource = {text:"mmmm"}; for(var i:int = 0;i<100;i++){ var img:Image = TestScrollImage(); img.pos(100+i*10,100+i+10); this.addChild(img); } } private function TestScrollImage():Image{ var img:Image = new Image("comp/ima...

来源: Laya_社区 发布时间: 20171129

142. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 39%]

...; } private updateItem(cell: Item, index: number): void { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public st...

来源: Laya2.0_文档 发布时间: 20210715

143. 【LIST无法拖动】参照官方实例做的 [ 39%]

...rivate updateItem(cell: Item): void {         cell.setImg(cell.dataSource);      }     private onSelect(index: number): void {         console.log("当前选择的索引:" + index);         console.log("目的是哪一关" + this.box_arr[index]);    ...

来源: Laya_社区 发布时间: 20210122

144. laya.ui.UIGroup [ 38%]

...开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 UIGroup destroyed : Boolean[只...

来源: laya_api 发布时间: 20170929

145. laya.ui.UIGroup [ 38%]

...开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 UIGroup destroyed : Boolean = fa...

来源: Laya2.0_api 发布时间: 20190513

146. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 37%]

...x:int):void { //用获得的数据给图片更换皮肤 cell.img.skin=cell.dataSource; } /***选择单元格回调***/ private function onSelect(index:int):void { trace("当前选择的索引:" + index); } } } //单元格类,继承于Box import laya.ui.Box; import laya.ui.Image; class Item exten...

来源: Laya2.0_文档 发布时间: 20210715

147. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...; } private updateItem(cell: Item, index: number): void { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; constructor...

来源: Laya3.0_文档 发布时间: 20251010

148. laya.ui.Dialog_API3.0 [ 25%]

... scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_dataSource set_height set_scaleX set_scaleY set_transform set_visible set_width show size skew startDrag stopDrag timerLoop timerOnce toParentPoint updateZOrder close closeAll closeByGroup destroy fromImage gc getDialogsByGro...

来源: Laya3.0_api 发布时间: 20231115

149. laya.ui.ScaleBox [ 21%]

...有开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 Box destroyed : Boolean = false...

来源: Laya2.0_api 发布时间: 20190513

150. laya.ui.View_API3.0 [ 20%]

... scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_dataSource set_height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stopDrag timerLoop timerOnce toParentPoint updateZOrder close closeAll destroy fromImage gc hideLoadingPage load open setLoad...

来源: Laya3.0_api 发布时间: 20231115