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

大约有 114 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0078 秒)

101. laya.ui.Dialog [ 39%]

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

102. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 37%]

...,把加载回调中返回的完整场景scene添加到舞台 Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); /** ** 省略其它代码若干,可前往Layabox官网示例或相关文档中查看 */ })); ``` ##### 5.2.2 预设的加载与使用(.lh) ...

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

103. 艰难的历程 [ 36%]

...yerObject("object","Role") //取到对象层上矩形位置 然后直接用addChild  把角色丢进地图里 打开游戏,角色出现了 再用getLayerByName('Roadblock') //取到Roadblock层 人物移动的时候,抹上黑色的地方就不让走 我还用Laya.Rectangle和scrollRect  做了个2...

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

104. laya.display.Scene_API3.0 [ 36%]

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

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

105. laya.ui.View_API3.0 [ 36%]

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

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

106. laya.ui.MoreGame [ 35%]

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

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

107. laya.ui.View [ 35%]

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

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

108. laya.ui.ComboBox_API3.0 [ 34%]

...lect);//设置 comboBox 选择项改变时执行的处理器。 Laya.stage.addChild(comboBox);//将此 comboBox 对象添加到显示列表。 } private function onSelect(index:int):void { trace("当前选中的项对象索引: ",index); } } } example Laya.init(640, 800);//设置游戏画布宽高...

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

109. laya.ui.ColorPicker_API3.0 [ 32%]

...lorPicket]);//设置 colorPicket 的颜色改变回调函数。 Laya.stage.addChild(colorPicket);//将此 colorPicket 对象添加到显示列表。 } private function onChangeColor(colorPicket:ColorPicker):void { trace("当前选择的颜色: " + colorPicket.selectedColor); } } } example Laya.ini...

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

110. laya.ui.Dialog [ 31%]

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

来源: laya_api 发布时间: 20170929