大约有 253 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0071 秒)
Laya_社区(87) Laya2.0_api(57) laya_api(53) Laya3.0_api(42) Laya3.0_文档(8) Laya2.0_文档(3) Laya2.0_示例(2) Laya_示例(1)
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...
来源: laya_api 发布时间: 20170929
...掉血 lostHp(role1,1); lostHp(role2,1); } } } } // 如果主角死亡,停止游戏循环 if(this.hero.hp < 1){ Laya.timer.clear(this,onLoop); } // 每隔30帧创建新的敌机 if(Laya.timer.currFrame%60 === 0){ createEnemy(2); } } function lostHp(role,lostHp){ // 减血 role.hp -= lostHp; if(...
来源: Laya_社区 发布时间: 20170525
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAsynLoaded(url:String, data:*, params:Array):void private Scene once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件...
来源: laya_api 发布时间: 20170929
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...
来源: Laya2.0_api 发布时间: 20190513
...: void Inherited from Text.stopDrag Defined in laya/display/Sprite.ts:1732 停止拖动此对象。 Returns void timerLoop timerLoop(delay: number, caller: any, method: Function, args?: any[], coverBefore?: boolean, jumpFrame?: boolean): void Inherited from Node.timerLoop Defined in laya/display/Nod...
来源: Laya3.0_api 发布时间: 20231115
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...
来源: Laya2.0_api 发布时间: 20190513
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...
来源: laya_api 发布时间: 20170929
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...
来源: laya_api 发布时间: 20170929
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...
来源: Laya2.0_api 发布时间: 20190513
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...
来源: laya_api 发布时间: 20170929