大约有 228 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
Laya_社区(93) Laya3.0_api(41) Laya2.0_文档(29) Laya2.0_api(18) laya_api(17) Laya2.0_示例(12) Laya3.0_文档(9) Laya_示例(9)
...ture.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(); //Laya.timer.loop(1000, this, changeSki...
来源: Laya_社区 发布时间: 20170818
...文档:https://ldc2.layabox.com/doc/?nav=zh-ts-3-5-5 ##### 刚体标签 `label`  (图2-13) label属性是刚体的标签名,默认值是RigidBody。如图2-13。 当我们想在项目代码中,通过自定义标签名来识别该刚体,用于判断控制的时候,...
来源: Laya2.0_文档 发布时间: 20210714
...spatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Component 是ui控件类的基类。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Public Properties Hide Inherite...
来源: Laya2.0_api 发布时间: 20190513
...ents IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Component 是ui控件类的基类。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Public Properties Hide Inherited Public Propertie...
来源: laya_api 发布时间: 20170929
... Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup labelPadding : String ...
来源: laya_api 发布时间: 20170929
... Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup labelPadding : String ...
来源: Laya2.0_api 发布时间: 20190513
...private hr: HttpRequest; private logger: Laya.TextArea; private text: Laya.Label = new Laya.Label(); onAwake(): void { this.initUI(); this.connect(); } /** * 初始化UI */ private initUI(): void { this.showLogger(); this.text.text = "请查看源码和调试信息,了解如何使用"; this.text.c...
来源: Laya3.0_文档 发布时间: 20251010
...并用代码控制弹出。方法为: let menu = IEditor.Menu.create([ { label: "test" , click : function() { console.log("clicked"); } } ]); //当需要弹出时 menu.show(); 菜单也支持级联,并且不限层数。例如: IEditor.Menu.create([ { label: "test" , submenu: [ { label : "a" },...
来源: Laya3.0_文档 发布时间: 20251010