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

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

161. laya.ui.Tab_API3.0 [ 14%]

... 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():void ...

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

162. laya.ui.Image_API3.0 [ 14%]

...ge_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并...

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

163. laya.ui.Dialog_API3.0 [ 14%]

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

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

164. laya.ui.List_API3.0 [ 14%]

...le { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vsc...

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

165. laya.ui.TextInput_API3.0 [ 14%]

...xample { 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 onLoa...

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

166. laya.ui.AdvImage_API3.0 [ 14%]

...rtJump isSupportJump(): boolean Defined in laya/ui/AdvImage.ts:72 当前小游戏环境是否支持游戏跳转功能 Returns boolean loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from AnimationBase.loadImage Defined in laya/display/Sprite.ts:1520 加载并显示一个图片...

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

167. laya.ui.TextArea_API3.0 [ 14%]

...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():voi...

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

168. laya.display.Input_API3.0 [ 14%]

...t miniGameTxt(value: string): void Defined in laya/display/Input.ts:429 小游戏专用(解决键盘输入框内容和游戏输入框内容不同步的bug) Parameters value: string Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Funct...

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

169. laya.ui.Tree_API3.0 [ 13%]

...= 0; arrow.y = 5; addChild(arrow); } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var res = ["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png",...

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