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

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

271. 【简单跑酷--JS版】---Lv.3 添加地板 [ 43%]

...aya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ //监听有没有地板要移除 while(this.dieFloorList.lenght > 0){ var floor = this.dieFloorList.shift(); floor.removeSelf(); } } /** * 增加地板 */ _proto.addFloor = function(){ var floor = new Floor(); floor.init(); ...

来源: Laya_社区 发布时间: 20160728

272. laya.d3.core.trail.TrailSprite3D [ 42%]

...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设...

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

273. laya.device.media.Video [ 42%]

...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...

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

274. laya.d3.terrain.TerrainChunk [ 41%]

...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设...

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

275. 2.12.2beta1 诸多bug [ 40%]

...们考虑后,不建议您这样来操作对象,您可以在sp3上添加监听来进行销毁,而不是在sp1的逻辑内销毁sp3操作;如果确实有这方面的需求的话,建议您在遍历中进行容错处理来避免这个问题。 zyy • 2021-11-08 19:40 test对象被移除,testS...

来源: Laya_社区 发布时间: 20211105

276. laya.display.Stage_API3.0 [ 36%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

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

277. laya.display.Input [ 36%]

...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...

来源: laya_api 发布时间: 20170929

278. laya.display.Animation_API3.0 [ 34%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

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

279. 【简单跑酷--JS版】---Lv.6 终篇 [ 34%]

...s.player.x = 32 * 8; this.player.y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(laya.events.Event.MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, thi...

来源: Laya_社区 发布时间: 20160803

280. laya.particle.Particle2D [ 34%]

...mouseEnabled : Boolean 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象...

来源: laya_api 发布时间: 20170929