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

大约有 445 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)

331. laya.d3.physics.PhysicsSimulation_API3.0 [ 41%]

...会挨个组件调用碰撞函数 组件要响应碰撞的话,要通过监听事件 Returns void enableDebugDrawer enableDebugDrawer(b: boolean): void Defined in laya/d3/physics/PhysicsSimulation.ts:249 Parameters b: boolean Returns void rayCast rayCast(ray: Ray, outHitResult?: HitResult, distance...

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

332. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 40%]

...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.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是...

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

333. laya.display.EffectAnimation_API3.0 [ 39%]

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

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

334. laya.d3.core.scene.BaseScene [ 38%]

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

来源: laya_api 发布时间: 20170422

335. laya.components.AnimationClip2D_API3.0 [ 38%]

... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...

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

336. laya.ani.swf.MovieClip [ 38%]

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

来源: laya_api 发布时间: 20170929

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

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

338. laya.d3.core.trail.TrailSprite3D [ 37%]

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

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

339. laya.ui.FontClip [ 37%]

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

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

340. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 37%]

...); } }开发数据域接收主域透传消息处理类:/** * 事件派发监听管理类 * author xiaosong * @date 2017-02-26 */ public class MsgMgr { /**共享画布类型**/ public static var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { su...

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