大约有 1,880 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1500) Laya3.0_api(155) Laya2.0_api(97) laya_api(63) Laya2.0_文档(46) Laya3.0_文档(18) Laya2.0_示例(1)
...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
...是为什么? 已上传 Demo 附件 TextInput重写onFocus和onBlur事件监听不到 FairyGUI是一款专业的 UI编辑器(千万别点) 图集打包找不到图集文件 真机环境找不到window---cant find variable: window stack 关于场景编辑器的,用的最新版引擎 自定义...
来源: Laya_社区 发布时间: 20161010
...类的注意事项 Sound类不支持bytesLoaded、bytesTotal属性,监听声音文件加载进度的功能不可用。 改变音量的时候,不要使用: SoundMixer.soundTransform.volume 请改用: SoundChannel.soundTransform.volume3.mp3批量转wav示例:详细...
来源: Laya_社区 发布时间: 20151111
...音乐后,切换后台再切换回前台,在document的visibilityChange的监听事件里Browser.document.visibilityState的值是hidden,应该是visible 这边做了临时处理 在core.js里把SoundManager._musicClass = AudioSound替换为SoundManager._musicClass = supportWebAudio ? WebAudioSound ...
来源: Laya_社区 发布时间: 20200808
...后移动位置 在重新显示时不更新位置 原因是disable取消了监听事件 所以需要在enable时手动调用下才能显示正常 附件 : --> 2023-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回...
来源: Laya_社区 发布时间: 20230918
... 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
... 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 发布时间: 20231102
...戏实际宽度 height:当前游戏实际高度 这样的话 我内部监听stage resize事件 拿到内部有left top right bottom的对象 重新计算他们的XY坐标 例如 A元素设置了 left:10 top:10 那么在noborder模式下面这个A元素实际的坐标是A.x = A.x + AppConfig.viewR...
来源: Laya_社区 发布时间: 20171205
...完成暂时不显示,防止点击出错 this.btn_start.visible=false; //监听界面是否关闭 this.once(Event.CLOSE,this,onClose); //加载剩余游戏资源、音乐,加载完成与加载进度回调方法 Laya.loader.load(assetArr,Handler.create(this,onComplete),Handler.create(this,onProgr...
来源: Laya_社区 发布时间: 20171123
...到舞台的3D模型不显示贴图 TextInput重写onFocus和onBlur事件监听不到 图集打包找不到图集文件 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ unity中的模型导出后在laya中显示不正常 LayaNative...
来源: Laya_社区 发布时间: 20161012