大约有 1,336 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0075 秒)
Laya3.0_api(672) Laya2.0_api(357) laya_api(289) Laya3.0_文档(9) Laya_社区(5) Laya2.0_示例(2) Laya_示例(2)
...omboBox; import laya.utils.Handler; public class ComboBox_Example { public function ComboBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));/...
来源: Laya3.0_api 发布时间: 20231115
... laya.ui.Tab; import laya.utils.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));//加...
来源: Laya3.0_api 发布时间: 20231115
...上。 package { import laya.ui.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/b...
来源: Laya3.0_api 发布时间: 20231115
...Loader; import laya.utils.Handler; public class Animation_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation...
来源: Laya3.0_api 发布时间: 20231115
....ui.Button; import laya.utils.Handler; public class Button_toggle { public function Button_toggle() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoad...
来源: Laya3.0_api 发布时间: 20231115
...; public class Dialog_Example { private 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, o...
来源: Laya3.0_api 发布时间: 20231115
...例。 package { import laya.ui.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 La...
来源: Laya3.0_api 发布时间: 20231115
...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231115
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...OLON SHIFT SLASH SPACE T TAB U UP V W X Y Z Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115