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

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

201. 对话框点击空白处无法关闭 [ 76%]

...I(){ testUI.__super.call(this); } CLASS$(testUI,'ui.testUI',_super); var __proto__=testUI.prototype; __proto__.createChildren=function(){ laya.ui.Component.prototype.createChildren.call(this); this.createView(testUI.uiView); } testUI.uiView={"type":"Dialog","props":{"width":266,"height":720},"child"...

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

202. Spine动画资源加载时不能同时使用"版本管理"和"URL.basePath" [ 75%]

...对_path进行路径过滤,去掉它内部包含URL.basePath的部分 __proto.onComplete=function(content){ if (this._isDestroyed){ this.destroy(); return; }; var tSkBuffer=Loader.getRes(this._skBufferUrl); if (!tSkBuffer){ this.event(/*laya.events.Event.ERROR*/"error","load failed:"+this._skBuffe...

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

203. 在加载swf动画之后在封装的里面报错了 , 用的官网的例子 [ 75%]

...取一个 Int16 值。     *@return Int16 值。     */     __proto.getInt16=function(){         if (this._pos_+2 > this._length)throw "getInt16 error - Out of bounds";         var us=this._d_.getInt16(this._pos_,this._xd_);         this._pos_+=2;       ...

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

204. Byte writeArrayBuffer的Bug [ 75%]

LayaAir引擎 Byte writeArrayBuffer的Bug     __proto.writeArrayBuffer=function(arraybuffer,offset,length){         (offset===void 0)&& (offset=0);         (length===void 0)&& (length=0);         if (offset < 0 || length < 0)throw "writeArrayBuffer ...

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

205. 加载二进制报错 [ 75%]

...taView     at DataView.getUint8 (<anonymous>)     at ByteArray.__proto.readUTFBytes (MingGame.max.js:4177)     at ByteArray.__proto.readUTF (MingGame.max.js:4149) 2018-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

206. ReferenceError: Loading_fly is not defined [ 75%]

...his); this.onPlay(); } Laya.class(Loading_fly, "Loading_fly", _super) var _proto = Loading_fly.prototype; _proto.onPlay = function () { UIConfig.popupBgAlpha = 0.85; UIConfig.closeDialogOnSide = false; this.diango = new Laya.Dialog(); this.diango.width = Laya.stage.width; this.diango.height = Laya.s...

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

207. HTMLDIVElement设置innerHTML时报错 [ 75%]

... 之前的版本中,set方法为/** *获取对象的宽 */ __getset(0,__proto,'width',function(){ if (this._width)return this._width; return this.contextWidth; },[b]_super.prototype._$set_width[/b]);此次出问题的版本为/** *获取对象的宽 */ __getset(0,__proto,'width',function(){ if (th...

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

208. 发布为微信小游戏,加载字体失败 [ 75%]

...ypeError: xml.getElementsByTagName is not a function     at BitmapFont.__proto.parseFont (http://127.0.0.1:53804/game/code.js:803:17)     at Loader.__proto.onLoaded (http://127.0.0.1:53804/game/code.js:12700:11)     at HTMLImage.onload (http://127.0.0.1:53804/game/code.js:21213:15)     at Im...

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

209. 3D中如何限制角色的行走区域? [ 74%]

...btCollisionObject' of undefined bundle.js:68723     at PhysicsCollider.__proto._onAdded (/Users/admin/layaA4/layaA4/bin/js/bundle.js:68723:31)     at MeshSprite3D.__proto._addComponentInstance (/Users/admin/layaA4/layaA4/bin/js/bundle.js:39288:9)     at MeshSprite3D.__proto.addComponent (/User...

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

210. [临时解决]bug?加载sk问题 [ 74%]

...  }      Laya.class(Test01, 'view.Test01', _super);      var _proto = Test01.prototype;      _proto.preload = function (complete) {         console.log("preload..." + (++this.numPreloadCalls));          if (this.dragon_sk._templet) {             complete...

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