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

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

421. laya.d3.component.physics.MeshCollider [ 67%]

...id[override] MeshCollider event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否...

来源: laya_api 发布时间: 20170929

422. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 67%]

...组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event.MOUSE_DOWN,this,this.scaleSmall); //添加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事...

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

423. laya.d3.core.MeshFilter [ 67%]

...void[override] MeshFilter event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否...

来源: laya_api 发布时间: 20170929

424. can not read property "elements" of underfined [ 67%]

...ot read property 'getWorldTransform' of null” 使用as3开发时候添加事件.on会报错。Uncaught TypeError: Cannot read property 'on' of null 发布web报错,can not read property "tagName" of null Cannot read property '_physicsUpdateList' of null 错误 发布微信小游戏,报错Canno...

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

425. 按钮交互实现 [ 67%]

...时, 变量名也被实例化 对实例化的按钮变量进行设置点击事件 var gameOver = new GameOverUI(); this.SceneMajor.addChild(gameOver); gameOver.btRetry.on('click', this, function(){ window.location.reload(); });当然因为按钮都是小元素, 默认情况下会被打包成atlas文...

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

426. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

...前只支持"lighter" 接受鼠标时间 Mouse Enabled 是否接受鼠标事件 鼠标穿透 Mouse Through 鼠标事件与此对象的碰撞检测是否可穿透 优先本对象 Hit Test Prior 指定鼠标事件检测是优先检测自身,还是优先检测其子对象 Z索引 Zindex 控制 2D 场...

来源: Laya3.0_文档 发布时间: 20251010

427. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 67%]

...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...

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

428. laya.d3.component.animation.SkinAnimations [ 67%]

... 实例。 SkinAnimations event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否...

来源: laya_api 发布时间: 20170929

429. laya.d3.core.ParticleRender [ 67%]

...维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否...

来源: laya_api 发布时间: 20170603

430. 关于mouseThough=true的问题 [ 67%]

...片设置了mouseThough=true点击图片空白区域还是会触发点击事件,这个是bug吗 2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你得确认 事件还是这个...

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