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

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

181. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 79%]

微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件     var Browser = Laya.Browser;     var ProtoBuf = Browser.window.protobuf;     ProtoBuf.load("protobuf/awesome.proto", onAssetsLoaded);   本地预览,h5环境下都运行得好好的,但在微信小...

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

182. Laya api 中可能的bug [官方来看] [ 79%]

...自己的_showGridList顺序,这样在调整zorder时是调整不到的__proto.render=function(context,x,y){ var childs=this._childs; this._childs=this._showGridList; _super.prototype.render.call(this,context,x,y); this._childs=childs; }2.core中Sprite的zorder的set方法中 有一行代码有疑...

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

183. LayaAirIDE 2.0beta5打开编辑模式出错 [ 79%]

.../out/vs/layaEditor/h5/layabuilder.max.js:29683:48)     at EventHandler.__proto.run (file:///Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/h5/laya.js:649:27)     at EventDispatcher.__proto.event (file:///Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/la...

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

184. mac 开放域 发布失败 [ 79%]

....asar/renderer/api/remote.js:118:18)     at TimerHandler.Timer.__init$.__proto.run (file:///Applications/LayaAirIDE.app/Contents/Resources/app/out/vs/layaEditor/h5/laya.js:9221:20)     at Timer.__proto._update (file:///Applications/LayaAirIDE.app/Contents/Resources/app/out/vs/layaEditor/h5/laya....

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

185. loading界面实现图片预加载后,创建Sprite执行loadImage出错 [ 79%]

...Uncaught TypeError: tex.once is not a function          at Graphics.__proto.drawTexture (laya.core.js:1438)          at onloaded (laya.core.js:1737)          at Graphics.__proto.loadImage (laya.core.js:1733)          at Function.Animation.createFrames (laya.core.js:18203)     ...

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

186. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 78%]

...类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = new Sprite(); // 城堡 this.tower = new Sprite(); // 飞艇 this.aeroboat = new Sprite(); // 山 this.mountain = new Sprite(); // 雕像 ...

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

187. laya.physics.js:430 Cannot read property 'GetType' of null [ 78%]

...:799)     at box2d.b2World.Step (laya.physics.js:811)     at Physics.__proto._update (laya.physics.js:1792)     at TimerHandler.__proto.run (laya.core.js:7533)     at Timer.__proto._update (laya.core.js:7271) 附件 : --> 2019-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

188. 添加组件PhysicsCollider 时报 Cannot read property 'btCollisionObject' of undefined [ 78%]

...csCollider; 时报错了,报错如下 preload.js:55 at PhysicsCollider.__proto._onAdded (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:79400:29) at SkinnedMeshSprite3D.__proto._addComponentInstance (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:43450:8) at SkinnedMeshSprite3D.__pro...

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

189. 组件Clip(play方法的bug) [ 78%]

组件Clip(play方法的bug) __proto.play=function(from,to){ (from===void 0)&& (from=0); (to===void 0)&& (to=-1); this._isPlaying=true; this.index=from; this._toIndex=to; this._index++;//源码这里没必要吧 2018-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

190. List选中项下滚会变 [ 78%]

...标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerListView.prototype; //选择列表项时的相应时间,参数index是选中项的下标 // _proto_.onSelect = function(index){ // console.log("index",index); // } _proto_.onMouse = function(e,index){ if(e.ty...

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