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

大约有 47 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0051 秒)

41. laya.ui.CheckBox [ 28%]

...ue。 Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按...

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

42. laya.ui.Radio [ 28%]

...ue。 Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按...

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

43. laya.display.Animation [ 27%]

...onent):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLabel(label:String, index:int):void 增加一个帧标签到指定索引的帧上。当动画播放到此索引的帧时会派发Event.LABEL事件,派发事件是在完成当前帧画面更新之后。 AnimationBase callLa...

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

44. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 26%]

...ya.ColliderBase, contact?: any): void { // 假如碰到了炸弹 if (other.label == "bomb") { // 此处省略爆炸伤害的逻辑 console.log("碰到炸弹:" + self.label + "受到伤害,生命值减少xx"); } else if (other.label == "Medicine") { // 假如碰到了药箱 // 此处省略恢复...

来源: Laya3.0_文档 发布时间: 20240528

45. laya.ani.bone.Skeleton [ 25%]

...agmove拖动中调度。Sprite dragstart开始拖动后调度。Sprite  label自定义事件。Skeleton mousedown在显示对象上按下后调度。Sprite mousemove鼠标在对象身上进行移动后调度Sprite mouseout鼠标离开对象后调度。Sprite mouseover鼠标经过对象后调...

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

46. laya.ui.Tab [ 19%]

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

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

47. laya.ui.UIComponent [ 18%]

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