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

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

71. laya.ani.swf.MovieClip_API3.0 [ 58%]

...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

72. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

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

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

73. laya.ui.ComboBox [ 57%]

...oBox  itemSize : int 下拉列表项标签的字体大小。 ComboBox  labelBold : Boolean 表示按钮文本标签是否为粗体字。 ComboBox  labelColors : String 获取或设置对 ComboBox 组件所包含的 Button 组件的文本标签颜色。 格式:upColor,overColor,downColor,disa...

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

74. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

... ) //拿到 Image 组件 private image: Laya.Image; @property( { type:Laya.Label } ) //拿到 Label 组件 private label: Laya.Label; @property( { type:Laya.Button } ) //拿到 Button 组件 private button: Laya.Button; @property( { type:Laya.Sprite } ) //拿到 Sprite 组件 private sprite: Laya.Sp...

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

75. laya.ui.CheckBox [ 56%]

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

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

76. laya.ui.Radio [ 55%]

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

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

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

...并用代码控制弹出。方法为: let menu = IEditor.Menu.create([ { label: "test" , click : function() { console.log("clicked"); } } ]); //当需要弹出时 menu.show(); 菜单也支持级联,并且不限层数。例如: IEditor.Menu.create([ { label: "test" , submenu: [ { label : "a" },...

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

78. laya.display.AnimationBase_API3.0 [ 53%]

...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...

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

79. laya.display.FrameAnimation_API3.0 [ 53%]

...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...

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

80. laya.display.EffectAnimation_API3.0 [ 52%]

...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...

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