大约有 213 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya_社区(95) Laya3.0_api(42) laya_api(20) Laya2.0_api(20) Laya_示例(11) Laya2.0_示例(11) Laya3.0_文档(10) Laya2.0_文档(4)
...k){//该角色是不是已经解锁了 如果没解锁进行赋值 var goldlabel:Label = gold.getChildByName("goldLabel")as Label; goldlabel.text= HostData.array[index].gold;//商城角色购买金额的赋值 }else{ gold.visible =false;//如果已经解锁了 那么关闭金币购买UI } ...
来源: Laya_社区 发布时间: 20180522
...ya.ColliderBase, contact?: any): void { // 假如碰到了炸弹 if (other.label == "bomb") { // 此处省略爆炸伤害的逻辑 console.log("碰到炸弹:" + self.label + "受到伤害,生命值减少xx"); } else if (other.label == "Medicine") { // 假如碰到了药箱 // 此处省略恢复...
来源: Laya3.0_文档 发布时间: 20251010
...tage.addChild(sp); var timeLine:TimeLine=new TimeLine(); timeLine.on(Event.LABEL,this,onLabel); timeLine.addLabel("A",0).to(sp,{rotation:360},700) .addLabel("B",0).to(sp,{scaleY:0.7},200) .addLabel("C",0).to(sp,{scaleY:1},200); timeLine.play(0,false); } private function onLabel(text:String):void { t...
来源: Laya_社区 发布时间: 20161229
...函数 Event Object Type: laya.events.Event; Event.type property = Event.LABEL; 如何才能实现第2帧后的回调呢 2016-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 182**...
来源: Laya_社区 发布时间: 20161214
...位置。 Node addChildren(... args):void 批量增加子节点 Node addLabel(label:String, index:int):void 增加一个帧标签到指定索引的帧上。当动画播放到此索引的帧时会派发Event.LABEL事件,派发事件是在完成当前帧画面更新之后。 AnimationPlayerBase ...
来源: laya_api 发布时间: 20170929
... Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表...
来源: laya_api 发布时间: 20170929
...onent):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLabel(label:String, index:int):void 增加一个帧标签到指定索引的帧上。当动画播放到此索引的帧时会派发Event.LABEL事件,派发事件是在完成当前帧画面更新之后。 AnimationBase callLa...
来源: Laya2.0_api 发布时间: 20190513
...lass TestSceneUI extends Laya.Scene { public scoreLbl:Laya.Label; public tipLbll:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("test/TestScene"); } } REG("ui.test.TestSceneUI",TestSceneUI); } 这是我从新建...
来源: Laya_社区 发布时间: 20190402
... Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表...
来源: Laya2.0_api 发布时间: 20190513
...t; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.load...
来源: Laya2.0_示例 发布时间: 20251130