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

大约有 312 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)

201. web版发布后,在浏览器运行报错 提示找不到 btCollisionObject_create [ 61%]

...高 赞同来自: Uncaught TypeError: Wt.getOCTree(...).addRender is not a function 这个报错是因为用的2.9.0的库,但接口用的是新接口,2.9.0的库中没有addRender方法,使用的是add方法。解决办法是使用更新的版本库,或者用add接口。 Uncaught TypeError:...

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

202. [2.0beta5]引入场景报错 [ 61%]

...Space/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:305:118)     at Function.Laya3D.init (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.d3.js:14694:4)     at new Test (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/js/bundle.js:14:16) ...

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

203. HTMLIframeElement报错 [ 61%]

...执行就报错是为什么啊?错误如下: Utils.parseXMLFromString=function(value){ var rst; value=value.replace(/>\s+</g,'><'); rst=(new DOMParser()).parseFromString(value,'text/xml'); if (rst.firstChild.textContent.indexOf("This page contains the following errors")>-1){ throw...

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

204. laya.ani.bone.Templet_API3.0 [ 61%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231115

205. laya.media.VideoTexture_API3.0 [ 61%]

...aya/media/VideoTexture.ts:109 Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231115

206. 刚刚接触2天layaair,有几个问题请教。 [ 60%]

...用,强行在Main.js里面写入 btn1.on(Event.CLICK, this, onBtnClick); function onBtnClick() { alert('222'); } btn1 is not defined 按教程写脚本,实在找不到地方写,请问有没有类似教程呢。 问题3)我在Scenes 新建了2个view,一个是v1一个是v2。其中v1里面...

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

207. 分离模式下使用自定义场景类 [ 60%]

..._proto.parseTsImport”,修改该函数体内容:__proto.parseTsImport=function(str){ var tStr = str.replace("import",""); str = 'from'; str = tStr.indexOf(str) > -1 ? str : '='; tStr = StringTool$1.trimSide(tStr.split(str)[0]); this.importDic[tStr] = true; }当然也可以把CodeManager.pars...

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

208. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 60%]

...837 Uncaught TypeError: Cannot read property 'props' of undefined     at Function.Laya3D._getSprite3DHierarchyInnerUrls (libs/laya.d3.js:1837)     at Loader.Laya3D._onHierarchylhLoaded (libs/laya.d3.js:1933)     at EventHandler.__proto.runWith (libs/laya.core.js:1628)     at Loader.__proto.e...

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

209. tween complete 报错 以及如何判断对象正在缓动中 [ 60%]

...romise) DOMException: play() 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2017-11-22 11:48 浏览: 1997 关注: 3 人 liner1457387450 • 2017-11-22 12:07 恩恩,谢谢,可以了

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

210. Main无法正常使用,找不到它的定义 [ 60%]

...ight:Number;         private var _oldY:Number;         private function onMuseHandler(type:Event,index:int):void         {             trace("type:" + type.type + "ddd--" + _list.scrollBar.value + "---index:" + index);             var curX:Number,curY:Number;   ...

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