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

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

201. laya.ui.TextInput_API3.0 [ 30%]

...nput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function...

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

202. laya.ui.Dialog_API3.0 [ 30%]

...实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任...

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

203. laya.ui.TextArea_API3.0 [ 30%]

...tArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

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

204. laya.display.Scene_API3.0 [ 30%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoDestroyAtClosed autoDestroyAtClosed: boolean = false Defined in laya/display/Scene.ts:25 场景被关闭后,是否自动销...

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

205. laya.ui.RadioGroup_API3.0 [ 30%]

...oup_Example { public function RadioGroup_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

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

206. laya.ui.ScrollBar_API3.0 [ 30%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoHide autoHide: boolean = false Defined in laya/ui/ScrollBar.ts:50 一个布尔值,指定是否自动隐藏滚动条(无需滚...

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

207. laya.ui.ComboBox_API3.0 [ 30%]

...boBox_Example { public function ComboBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete()...

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

208. laya.ui.ScaleBox_API3.0 [ 30%]

...s "laya/ui/ScaleBox" ScaleBox Class ScaleBox 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Hierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTest...

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

209. laya.ui.Tab_API3.0 [ 29%]

... class Tab_Example { public function Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete()...

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

210. laya.ui.View_API3.0 [ 29%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoDestroyAtClosed autoDestroyAtClosed: boolean = false Inherited from Scene.autoDestroyAtClosed Defined in laya/display/Scene.ts:...

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