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

大约有 1,729 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0069 秒)

1641. 为什么会出现报错 ani not found:ufo1_down [ 34%]

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

1642. laya.ui.List [ 34%]

...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...

来源: laya_api 发布时间: 20170929

1643. laya.display.Input [ 33%]

...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...

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

1644. laya.physics.Physics_API3.0 [ 33%]

...null Returns void stop stop(): void Defined in laya/physics/Physics.ts:188 停止物理世界 Returns void updatePhysicsByWorldRoot updatePhysicsByWorldRoot(): void Defined in laya/physics/Physics.ts:249 设定 worldRoot 后,手动触发物理世界更新 Returns void Static enable enable(options?...

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

1645. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 33%]

...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件...

来源: laya_api 发布时间: 20170929

1646. laya.ui.List [ 33%]

...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...

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

1647. laya.display.Input [ 33%]

...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...

来源: laya_api 发布时间: 20170929

1648. 为什么会出现报错 ani not found:ufo1_down [ 32%]

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

1649. laya.display.Text [ 32%]

...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知,此侦听事件...

来源: laya_api 发布时间: 20170929

1650. 物理系统之ConfigurableConstraint(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 32%]

...面),来回弹来弹去,因为有默认的摩擦系数所以会慢慢停止。 示例效果展示: ![](img/demo.jpg)

来源: Laya2.0_文档 发布时间: 20210715