大约有 89 项符合查询结果, 库内数据总量为 30,956 项。 (搜索耗时: 0.0079 秒)
...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
...ya.ColliderBase, contact?: any): void { // 假如碰到了炸弹 if (other.label == "bomb") { // 此处省略爆炸伤害的逻辑 console.log("碰到炸弹:" + self.label + "受到伤害,生命值减少xx"); } else if (other.label == "Medicine") { // 假如碰到了药箱 // 此处省略恢复...
来源: Laya3.0_文档 发布时间: 20250319
...oBox itemSize : int 下拉列表项标签的字体大小。 ComboBox labelBold : Boolean 表示按钮文本标签是否为粗体字。 ComboBox labelColors : String 获取或设置对 ComboBox 组件所包含的 Button 组件的文本标签颜色。 格式:upColor,overColor,downColor,disa...
来源: Laya2.0_api 发布时间: 20190513
... ) //拿到 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
...ue。 Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按...
来源: Laya2.0_api 发布时间: 20190513
...ue。 Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按...
来源: Laya2.0_api 发布时间: 20190513
...并用代码控制弹出。方法为: 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
...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
...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
...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