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

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

411. laya.d3.core.trail.TrailSprite3D_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

412. laya.display.Node [ 67%]

...毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node  frameOnce(d...

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

413. 3d骨骼动画播放不响应Laya.Event.COMPLETE [ 67%]

...放攻击动作,攻击动作停止后,不会响应Laya.Event.COMPLETE事件。如果在controller里面没有编辑后续动作的,则可以响应Laya.Event.COMPLETE事件。我现在想攻击动作结束后响应Laya.Event.COMPLETE事件,需要怎么做 2018-02-02 添加评论 免费帖 --> ...

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

414. laya.d3.component.animation.RigidAnimations [ 67%]

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

来源: laya_api 发布时间: 20170929

415. Button和下面的3D物体重叠,点击button,3D物体会同时响应自己的鼠标脚本 [ 67%]

...标脚本 怎么才能在点击UI时,UI下方的3D物体不响应鼠标事件 2021-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 From Nowhere 赞同来自: 自己解决吧let isClick; //前提:把所有...

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

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

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

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

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

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

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

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