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

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

3271. laya.ui.Label_API3.0 [ 20%]

...Label; public class Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类...

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

3272. laya.ui.Tab_API3.0 [ 20%]

...s.Handler; public 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...

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

3273. laya.ui.Image_API3.0 [ 20%]

...Image; public class Image_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 类...

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

3274. laya.ui.Dialog_API3.0 [ 20%]

...rivate var dialog:Dialog_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));//加载资源。...

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

3275. laya.ui.List_API3.0 [ 20%]

...Handler; public class List_Example { 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/vsc...

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

3276. laya.ui.TextInput_API3.0 [ 20%]

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

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

3277. laya.ui.TextArea_API3.0 [ 19%]

... public class TextArea_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 functi...

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

3278. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 19%]

...nected on socket fd 24 value 2 01-06 17:34:41.531 714 1765 I C01406/WRAP: [InitBufferhandle@sprd_allocator.cpp:148] buffer handle size 10479616, width 1080, height 2408, stride 4352, fd 8, format: <private>, phy 0x0, usage 0xb, viraddr 0x0000000000000000 01-06 17:34:41.531 902 1210 I C01401/Bu...

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

3279. laya.ui.Tree_API3.0 [ 19%]

...Handler; public class Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resour...

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

3280. 打包成APK运行一半崩溃 [ 19%]

...7d6d80 04-11 11:17:08.951    8591-8591/? E/0﹕ ==============Java流程 InitMainCanvas() 04-11 11:17:08.951    8591-8591/? E/LayaConch5﹕ plugin-----------------EngineStart() = /data/user/0/com.mygame.laya/cache//LayaCache/localstorage 04-11 11:17:08.951    8591-8591/? I/LayaBox﹕ localStor...

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