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

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

161. Unity中给模型添加一个带旋转的动画后加载报错 [ 83%]

...lRotationEuler (/RotateDemo/bin/libs/laya.d3.js:18283:53)   at Animator.__proto._addKeyframeNodeOwner (/RotateDemo/bin/libs/laya.d3.js:19193:23)   at Animator.__proto._getOwnersByClip (/RotateDemo/bin/libs/laya.d3.js:19259:23)   at Animator.__proto._getOwnersByClipAsync (/RotateDemo/bin/libs/laya...

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

162. TimeLine调用destroy报错&执行完成后回到起点 [ 83%]

...79 Uncaught TypeError: Cannot read property 'length' of null at TimeLine.__proto._update (HMain.max.js:12479) at TimerHandler.__proto.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop ...

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

163. 地形shader示例渲染失败【在线等】 [ 83%]

...Error: BaseMaterial: unknown shader name.     at CustomTerrainMaterial.__proto.setShaderName (file:///Users/xutao/Documents/laya/test/bin/libs/laya.d3.js:23016:10)     at new CustomTerrainMaterial (file:///Users/xutao/Documents/laya/test/bin/js/CustomTerrainMaterial.js:15:15)     at Shader_Ter...

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

164. 不能成功调用 DiaLog Close 关闭方法 [ 83%]

...this.reset(); } // 注册 Start 类 Laya.class(Start,"Start",_super); var _proto = Start.prototype; // 初始化 UI 界面显示 _proto.reset = function(){ } _proto.onBeginClick = function(){ dialog.close(); restart(); } _proto.onLinkClick = function(){ alert("***"); } return Start; })(ui.StartUI);...

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

165. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 83%]

...' of null     at Sprite.fromImage (laya.core.js:16463)     at Sprite.__proto.toParentPoint (laya.core.js:15797)     at Sprite.__proto.localToGlobal (laya.core.js:15757)     at Function.Utils.getGlobalRecByPoints (laya.core.js:10216)     at Function.Utils.getGlobalPosAndScale (laya.core.js:...

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

166. protobuf使用问题 [ 83%]

protobuf使用问题 a.proto文件中import b.proto文件这种场景 在使用ProtoBuf.loadProto = function(proto, builder, filename)加载的时候的,参数 1 填入的是a.proto文件的内容,参数 2, 3如何填,不填的话 会报错“cannot determine import root” 附件 : --> 201...

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

167. 使用滤镜报错 [ 82%]

...错日志: TypeError: f.action.setValue is not a function at TextureSV.__proto.setFilters (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:22308:15) at TextureSV.__proto.setValue (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:23986:23) at Function.SubmitTe...

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

168. 升级到2.0后.原本用字符串索引module内的函数,发现不行了, 求指教 [ 82%]

...没研究出方法.  请大大帮忙答疑一下.   例如: a.ts module proto{    export function msg1(){        console.log("msg1");    } }   b.ts module proto{    export function msg2(){        console.log("msg2");    } }   然后再main.ts里面. function dispatchMsg(name: str...

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

169. js执行once时如何改变执行域 [ 82%]

js执行once时如何改变执行域 _proto.onMsgCallBack = function () { this.kwxSocket.OnMessageCallBack=function(msg){ console.log("回调"+msg); var dataTemp = JSON.parse(msg); console.log(dataTemp.d); kwxGame.prototype.cardData = dataTemp.d; [b][i]Laya.timer.once(1000, this, this.onOncePiao); ...

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

170. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 82%]

... Hero.__super.call(this); this.fly(); } Laya.class(Hero,"Hero", Air); var _proto = Hero.prototype; _proto.fly = function() { this.playAction("fly") } })(); air类: (function() { function Air(type, hp) { this.hp = hp; this.type = type; this.body = null; Air.__super.call(this); this.init(); } Laya.c...

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