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

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

261. LayaAir 2.0.1 切换场景报异常 Cannot read property ‘_physicsUpdateList’ [ 64%]

...not read property ‘_physicsUpdateList’of null 求指导~~       __proto._onDestroy=function(){          (this._inPhysicUpdateListIndex!==-1)&& (this._simulation._physicsUpdateList.remove(this));          var physics3D=Laya3D._physics3D;         delete Physi...

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

262. 加载模式不能用 有demo [ 64%]

... 只要改一下代码 让他别在屁股后面加 .scene就可以了   __proto.loadScene=function(path){         var url=path.indexOf(".")>-1 ? path :path+".scene";         var view=Laya.loader.getRes(url); 附件 : --> Test2.1_.0_.rar 2019-08-08 添加评论 免费帖 --> 分...

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

263. Texture自动恢复还是存在另外的问题 [ 64%]

Texture自动恢复还是存在另外的问题 laya.resource.Texture类 __proto.recoverBitmap=function(){        var _$this=this;         var url=this._bitmap.url;         if (!this._destroyed && (!this._bitmap || this._bitmap.destroyed)&& url){            ...

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

264. list只能显示一个图片 [ 64%]

...andler.create(this,this.onListSelect)设置renderHandler和selectHandler, _proto.onListSelect = function(index){ console.log(index + ' selected'); } _proto.onRenderList = function(cell,index){ console.log(cell.dataSource); //如果索引不再可索引范围,则终止该函数 if(index > this.d...

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

265. 3d获取组件代码bug [ 64%]

...*@param type 组件类型。 *@param components 组件输出队列。 */ __proto.getComponentsByType=function(type,components){ var index=this._componentsMap.indexOf(type); if (index===-1) components.length=0; //这里应该返回了!!!!!!!!!! var typeComponents=this._typeComponentsIndices[index]; v...

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

266. startDrag 被拖拽物体所在view发生旋转后的bug [ 64%]

...   *拖拽的循环处理函数。         */         __proto.loop=function(){             var point=this._parent.getMousePoint();             var mouseX=point.x;             var mouseY=point.y;             var offsetX=mouseX-this._l...

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

267. 一个EffectAnimation只能创建一个动画效果吗 [ 64%]

...获取第一个 /** *设置动画数据。 *@param uiData */ __getset(0,__proto,'effectData',null,function(uiData){ if (uiData){ var aniData=uiData["animations"]; if (aniData && aniData[0]){ var data=aniData[0]; this._setUp({},data); if (data.nodes && data.nodes[0]){ this._...

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

268. laya.core.js中HttpRequest的bug报告 [ 63%]

laya.core.js中HttpRequest的bug报告 var HttpRequest { ...... __proto.send=function(url,data,method,responseType,headers){ (method)&& (method="get"); 应该是(method===void 0)&& (method="get"); 否则无法使用post ...... } ...... } 2016-12-01 添加评论 免费帖 --> 分享 ...

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

269. 粒子特效怎样重复使用? [ 63%]

...leSystem.play()就不会生效,不会看到粒子效果。断点看到 __proto._advanceTime办法中有进行调用this.emit()   2019-07-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 ...

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

270. 加载UI为什么总是加载白底 [ 63%]

...ion start(){ start.super(this); } Laya.class(start,"start",_super); //var _proto = Game.prototype; return start; })(ui.startUI) 2018-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: ??...

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