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

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

281. laya.ui.Dialog [ 47%]

...Methods Show Inherited Public Methods MethodDefined By  Dialog()Dialog addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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

282. laya.ui.TextInput [ 47%]

...extInput(text:String) 创建一个新的 TextInput 类实例。 TextInput addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...

来源: laya_api 发布时间: 20170929

283. laya.ui.Radio_API3.0 [ 46%]

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

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

284. laya.ui.HScrollBar_API3.0 [ 45%]

...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

285. laya.ui.VScrollBar_API3.0 [ 45%]

...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

286. laya.display.Stage [ 45%]

...只有一个stage实例,此实例可以通过Laya.stage访问。Stage addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Functio...

来源: laya_api 发布时间: 20170929

287. laya.ui.TextInput_API3.0 [ 44%]

...度。 textInput.height = 200;//设置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], ...

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

288. laya.ui.TextArea_API3.0 [ 44%]

...宽度。 textArea.height = 200;//设置 textArea 的高度。 Laya.stage.addChild(textArea);//将 textArea 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui...

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

289. laya.display.Input [ 44%]

...ds MethodDefined By  Input()创建一个新的 Input 类实例。Input addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  changeText(text:String):void[ov...

来源: laya_api 发布时间: 20170929

290. laya.display.Stage [ 43%]

...只有一个stage实例,此实例可以通过Laya.stage访问。Stage addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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