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

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

221. 示例 骨骼动画换装 加不上点击事件 [ 42%]

...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

222. LayaAirIDE的可视化2D物理编辑入门(TypeScript-IDE篇(TS)-使用2d物理系统) [ 41%]

...文档:https://ldc2.layabox.com/doc/?nav=zh-ts-3-5-5 ##### 刚体标签 `label` ![img](img/2-13.png) (图2-13) label属性是刚体的标签名,默认值是RigidBody。如图2-13。 当我们想在项目代码中,通过自定义标签名来识别该刚体,用于判断控制的时候,...

来源: Laya2.0_文档 发布时间: 20210714

223. laya.ui.UIComponent [ 41%]

...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

224. laya.ui.Component [ 40%]

...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

225. laya.ui.Tab [ 39%]

... Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup labelPadding : String ...

来源: laya_api 发布时间: 20170929

226. laya.ui.Tab [ 38%]

... Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup labelPadding : String ...

来源: Laya2.0_api 发布时间: 20190513

227. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...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

228. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

...并用代码控制弹出。方法为: 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