大约有 2,098 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1705) Laya3.0_api(155) Laya2.0_api(97) laya_api(63) Laya2.0_文档(54) Laya3.0_文档(23) Laya2.0_示例(1)
...听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 关于遍历产生的sprite的点击事件,急,大神帮看哈 Animation如何加点击事件 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 关于使用matterjs...
来源: Laya_社区 发布时间: 20170614
...听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 关于Laya实现Matter.js官方案例凹多边形的问题 unity中的模型导出后在laya中显示不正常 Animation如何加点击事件 关于遍历产生的sprite的点击事件,急,大神帮看哈 Laya...
来源: Laya_社区 发布时间: 20201218
...el.getComponentByType(Laya.Animator) as Laya.Animator; //动画完成事件监听 this.roleAni.on(Laya.Event.COMPLETE,this,this.onComplete); } /*覆写3D组件更新方法(相当于帧循环)*/ public _update(state:Laya.RenderState):void{ //如果是攻击状态播放击球动画(优先播放...
来源: Laya_社区 发布时间: 20171113
... 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
...子水准) //这块就是抛到主线程去运行SDK,否则这个SDK的监听不能正常运行 final Runnable mRunnable0 = new Runnable() { @Override public void run() { YIMService.getInstance().login(userId, mPassword,""); } }; new Thread() { public void run() { m_Handler.post(mRunnable0); } }...
来源: Laya_社区 发布时间: 20170722
...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
...ion.clearWatch()并传入该ID值来取消由watchPosition()注册的位置监听器。 /** * 监视设备当前位置。回调处理器在设备位置改变时被执行。 * @param onSuccess 带有唯一<code>Position</code>参数的回调处理器。 * @param onError 可选的。带有...
来源: Laya3.0_文档 发布时间: 20251010
... 只读 upload XMLHttpRequestUpload 可以在 upload 上添加一个事件监听来跟踪上传过程。 withCredentials boolean 表明在进行跨站(cross-site)的访问控制(Access-Control)请求时,是否使用认证信息(例如cookie或授权的header)。 默认为 false timeout number 请...
来源: Laya3.0_文档 发布时间: 20250104
...le.log("✅ 音乐播放成功"); // 添加错误监听,在播放过程中出错时重试 channel.on(Laya.Event.ERROR, this, (err: any) => { console.error("播放过程中出错:", err); ...
来源: Laya_社区 发布时间: 20250930
...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