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

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

431. Animation 下的Event.COMPLETE 回调 [ 77%]

...hClass, JS没有收到OC的回调 Skeleton 类播放完成一遍后有没事件或者回调 为什么在编辑器下正常的animation,运行时有原件会错乱? 创建树Tree 该怎么回调mouseHandler 形参该传什么 执行回调函数时报is not a function 问题状态 最新活动: ...

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

432. laya.d3.core.RenderableSprite3D_API3.0 [ 77%]

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

433. laya.d3.component.Animator [ 77%]

...动画片段。 Animator event(type:String, data:* = null):Boolean 派发事件EventDispatcher  getClip(playName:String):AnimationClip 通过播放名字获取动画片段。 Animator  getClipCount():int 获取动画片段个数。 Animator hasListener(type:String):Boolean 检查 EventDisp...

来源: laya_api 发布时间: 20170929

434. js socket 连接不上 [ 77%]

...触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(event){ //正确建立连接 this.socket.send('foo','OOOO'); } function receiveHandler(msg){ console.log(event); //接收到数...

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

435. laya.device.motion.Gyroscope [ 77%]

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

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

436. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 77%]

....I.isReg) { this._regMode(); } else { this._forgetMode(); } // 添加取消事件 this.lb_cancel.on(Laya.Event.CLICK, this, () => { // 返回登陆页 Laya.Scene.open("Auth.scene"); }); // 遍历数组添加事件 this._arrInput.forEach((element, index) => { element.on(Laya.Event.FOCUS, this, ...

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

437. laya.ui.ProgressBar [ 77%]

...区域进行碰撞。 Sprite hitTestPrior : Boolean = false 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标事件检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的目标对象...

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

438. laya.d3.terrain.Terrain [ 77%]

...isableLight():voidTerrain 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(del...

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

439. Dialog的onShow方法重写无效 [ 77%]

...继承的View类,很奇怪,为什么Dialog类就不能响应Event.ADDED事件呢?   补充下:我想实现的功能就是dialog和view每次打开都执行onshow方法来操作数据   2016-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

440. hitTestPrior无效 [ 77%]

hitTestPrior无效 我想利用hitTestPrior进行鼠标事件监测: viewStack.on(Laya.Event.MOUSE_DOWN, this, this.onStageMouseDown); img.on(Laya.Event.MOUSE_DOWN, this, this.onImageMouseDown); viewStack.addChild(img);   然而不管设置是true还是false,都是子元素先检测到mousedow...

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