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

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

51. laya.ui.HScrollBar_API3.0 [ 81%]

...this, onChange);//设置 hScrollBar 的滚动变化处理器。 Laya.stage.addChild(hScrollBar);//将此 hScrollBar 对象添加到显示列表。 } private function onChange(value:Number):void { trace("滚动条的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽...

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

52. laya.ui.VScrollBar_API3.0 [ 81%]

...this, onChange);//设置 vScrollBar 的滚动变化处理器。 Laya.stage.addChild(vScrollBar);//将此 vScrollBar 对象添加到显示列表。 } private function onChange(value:Number):void { trace("滚动条的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽...

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

53. 想要给场景中的图片添加一个label组件怎么使用node的addComponent方法添加? [ 81%]

...邀请: 与内容相关的链接 提交 1 个回复 nevercai 赞同来自: addChild 2019-02-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 loop 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,...

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

54. laya.ui.VBox_API3.0 [ 81%]

...port visible width x y zOrder Methods _initialize _processActive _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

55. laya.ui.HBox_API3.0 [ 81%]

...ort visible width x y zOrder Methods _initialize _processActive _setHeight addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

56. laya.ui.WXOpenDataViewer_API3.0 [ 80%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayo...

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

57. laya.ui.UIComponent_API3.0 [ 80%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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

58. laya.ui.AdvImage_API3.0 [ 80%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroyChildren dispose drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce f...

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

59. 使用 addChild 加载界面后,绑定事件报错 [ 80%]

使用 addChild 加载界面后,绑定事件报错 onConfigLoaded(): void {         //加载IDE指定的场景         //GameConfig.startScene && Laya.Scene.open(GameConfig.startScene);         Main.gameStart = new GameStart(); Laya.stage.addChild(Main.gameStart); ...

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

60. laya.ui.Box_API3.0 [ 80%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

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