大约有 1,736 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(1451) laya_api(82) Laya2.0_api(81) Laya3.0_api(55) Laya2.0_文档(29) Laya3.0_文档(29) Laya2.0_示例(5) Laya_示例(4)
...属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node o...
来源: Laya2.0_api 发布时间: 20190513
...属性 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属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node onc...
来源: Laya2.0_api 发布时间: 20190513
...不会给 worker 留下任何完成操作的机会;就是简单的立即停止 ### 属性 | Property | Type | Description | | ----------- | ---------------------------------------- | ---------------------------------------- | | `onmessage` | [`EventListener`](https://developer.mozilla.org/zh-CN/do...
来源: Laya2.0_文档 发布时间: 20210715
... Always Simulate。 Pause(暂停):粒子离开视野后,立即停止计算;重新进入视野时,从停止的那一刻继续。 AlwaysSimulate(始终模拟):无论粒子是否在视野范围内,都持续计算。 PauseAndCatchup(暂停并追赶):粒子离开视...
来源: Laya3.0_文档 发布时间: 20260122
...掉血 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 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
...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