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

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

2211. 有没有办法获取音乐播放状态? [ 47%]

...应该在页面加载后进行加载*/         public var preload:String;         /**设置或返回音频/视频是否暂停*/         public var paused:Boolean;         /**返回音频/视频的播放是否已结束*/         public var ended:Boolean;         /*...

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

2212. BackGround.super(this);这个报错 Cannot read property 'call' of undefined [ 47%]

BackGround.super(this);这个报错 Cannot read property 'call' of undefined 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你具体描述一下你出现问题的环境, 以...

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

2213. runtime运行报错! [ 47%]

...好开始跟踪代码,发现laya.ui.js里代码如下:  View.getCompInstance=function(json){       var runtime=json.props ? json.props.runtime :"";       var compClass=runtime ? (View.viewClassMap[runtime] || Laya["__classmap"][runtime]):View.uiClassMap[json.type];      return compClas...

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

2214. Unity导出lh文件中包含"LineSprite3D"时,在使用时报错 [ 47%]

Unity导出lh文件中包含"LineSprite3D"时,在使用时报错   Unity导出lh文件中包含"LineSprite3D"时,在使用时报错   使用版本laya 2.3.0及对应的unity插件 Unity导出文件在附件中, 加载使用lh文件时报错: laya.d3.js:30421 Uncaught Error: Utils3D:unidentifi...

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

2215. 动效模板bug [ 47%]

...闲 查看源码后我已经找到临时解决方法,在入口类型(Main.ts)里增加类型注册,如 import {ui} from "./ui/layaMaxUI"; Laya.ClassUtils.regClass("ui.effectUI",ui.effectUI);但是感觉是生成的bug,这个应该自动生成在GameConfig里,求修复。。。现在太影响...

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

2216. 背景音乐播放内存问题 [ 47%]

...   public function dispose():void { delete _dataCache[url]; delete __loadingSound[url]; this.audioBuffer = null; this.data = null; this.__toPlays = []; super.dispose(); }   如果不添加最后4行代码的话,每次切换回来内存就都会上涨了,现在是只有第一次上涨,之后...

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

2217. list里的tweenTo(index)方法 为什么按下鼠标快速向某方向滑动的情况下想要显示的index单元格位置会有偏移,怎么控制单元格的位置 [ 47%]

list里的tweenTo(index)方法 为什么按下鼠标快速向某方向滑动的情况下想要显示的index单元格位置会有偏移,怎么控制单元格的位置 this._list.tweenTo(this._list.page, 500, isFresh ? Laya.Handler.create(this, this.refresh) : null);核心就这句,this._list.pa...

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

2218. IDE新建2D示例,Sprite值狂飙,Console提示 EXT:webgl support OES_vertex_array_object [ 47%]

... O古O冬 赞同来自: 有没有遇到这个问题的同学? 我这是windows10系统,gtx960的显卡 有没有可能是系统或者驱动的问题呢? 2019-04-26 0 1 分享 微博 QZONE 微信 碧水龍团 赞同来自: win10,同样的问题,debug面板Sprite值狂飙,哪怕是新建...

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

2219. 背景音乐来回切换报错 [ 47%]

...ayabox.game/LayaCache/appCache/9ea141a6/18ac4122_dreams.mp3: avformat_open_input failed, err:Permission denied 07-16 13:28:21.322 1331-1331/com.layabox.game E/MediaPlayer: Should have subtitle controller already set          --------- beginning of /dev/log/system 07-16 13:28:37.142 402-531/? I/...

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

2220. 资源导出出错,怎么解 [ 47%]

...出出错,怎么解 KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collect...

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