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

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

31. laya.ui.ViewStack [ 46%]

...Index(node:Node, index:int):Node 设置子节点的索引位置。 Node  setItems(views:Array):void 批量设置视图对象。 ViewStack setSelfBounds(bound:Rectangle):void 设置对象bounds大小,如果有设置,则不再通过getBounds计算,合理使用能提高性能。 Sprite size(w...

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

32. laya.ui.List [ 37%]

...dth参数,height参数)组成的矩形区域为可视区域。 List  setItem(index:int, source:Object):void 设置单元格数据源。 List size(width:Number, height:Number):Sprite 设置宽高。相当于分别设置width和height属性。 因为返回值为Sprite对象本身,所以可以...

来源: laya_api 发布时间: 20170929

33. laya.ui.List [ 36%]

...dth参数,height参数)组成的矩形区域为可视区域。 List  setItem(index:int, source:Object):void 设置单元格数据源。 List setSelfBounds(bound:Rectangle):void 设置对象bounds大小,如果有设置,则不再通过getBounds计算,合理使用能提高性能。 Sprite...

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

34. laya.ui.ViewStack_API3.0 [ 22%]

...f render repaint replaceChild runCallLater scale setChildIndex setGraphics setItems setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_height set_scaleX set_scaleY set_top set_transform set_visible set_width size skew startDrag stopDrag timerLoop timerOnce toParentPoint updateZOrder...

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

35. 微信小游戏加载资源问题 [ 20%]

... } static __init__() { MiniLocalStorage.items = MiniLocalStorage; } static setItem(key, value) { try { MiniAdpter.window.wx.setStorageSync(key, value); } catch (error) { MiniAdpter.window.wx.setStorage({ key: key, data: value }); } } static getItem(key) { return MiniAdpter.window.wx.getStorageSync(k...

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

36. 【简单跑酷--JS版】---Lv.6 终篇 [ 17%]

...re && parseInt(_score) > score){ score = _score; } LocalStorage.setItem('runGameScore',score); this.txt.text = "GameOver\n\n Click Again\n\n Best Score : " + score; this.txt.y = (Config.GameHeight - this.txt.height) * 0.5; } })();[/i]剩下的都是比较简单的~~ 如果看过前面章...

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

37. laya.ui.List_API3.0 [ 8%]

...Child runCallLater scale scrollTo setChildIndex setContentSize setGraphics setItem setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_height set_scaleX set_scaleY set_top set_transform set_visible set_width size skew startDrag stopDrag timerLoop timerOnce toParentPoint tweenTo updat...

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