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

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

71. 有关PathFinding.js [ 77%]

..., 0], ]; var grid = PF.core.Grid(matrix);   然后就报错了 TypeError: this._buildNodes is not a function at Object.Grid (file:///D:/Layabox/PathFinding/bin/libs/laya.pathfinding.js:41:19) at LayaAir3D.pathFindingTest (file:///D:/Layabox/PathFinding/bin/js/LayaAir3D.js:39:33) at new LayaAir3D (f...

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

72. 加载unity导出场景失败 [ 77%]

...main/SMain.ls"); Laya.stage.addChild(scene);    错误信息: Warning!,this class[MiniAdpter] already exist: Object Error: LoaderManager:unknown file(E:/LayaAir/ZJKZWDT/bin/main/SMain.ls) extension with: ls.     at LoaderManager.__proto._create (file:///E:/LayaAir/ZJKZWDT/bin/libs/laya.core.js...

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

73. 为什么无法使用 meshRender.sharedMaterials 设置材质 [ 77%]

...无法使用 meshRender.sharedMaterials 设置材质 // 可以正常asign this.object.meshRender.sharedMaterial = this.material; // 沒有效果 this.object.meshRender.sharedMaterials[0] = this.material; this.object.meshRender.sharedMaterials[1] = this.material;  这个物体在Unity的属性如附...

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

74. dialog 自定义关闭效果,效果执行完,弹窗无法关闭 [ 77%]

... 微博 QZONE 微信 gls_laybox 赞同来自: //关闭特效自己实现 this.closeEffect = Laya.Handler.create(this,this.onCloseEffect,null,true);   //具体的实现代码 _proto_.onCloseEffect = function(){ Laya.Tween.to(this,{ x:-100 //动画结束就关闭 },1000,null,Laya.Handler.create(this,...

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

75. 微信小游戏api 调用 wx前会自动加this 希望官网给解决一下 [ 77%]

微信小游戏api 调用 wx前会自动加this 希望官网给解决一下 可以吗 2018-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 描述具体一点。 这个标题语义不...

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

76. Spine动画最后一帧无法正常显示 [ 77%]

...后发现在Skeleton::_update方法中的以下语句:var tGraphics; if (this._aniMode == 0) { tGraphics = this._templet.getGrahicsDataWithCache(this._aniClipIndex, this._clipIndex) || this._createGraphics(); if (tGraphics && this.graphics != tGraphics) { this.graphics = tGraphics; } }决...

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

77. mac安装typescript的问题 [ 77%]

...ReqWrap.oncomplete (fs.js:82:15)' ] } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! Darwin 15.6.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "typescript" npm ERR! node v4.4.1 npm ERR! npm v2.14.20 npm ERR! path npm-debug.log.5325...

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

78. 背景音乐文件太大 播放延迟 [ 77%]

...c 播放 会出现延迟效果    Laya.loader.load(['remote/music/' + this.soundUrl + '.mp3'], new Laya.Handler(this, () => {                 this.store.isDemo = true;                 Laya.Scene.open("scene/Home.scene")             }), ne...

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

79. 位图字体ide无法注册 [ 77%]

...给ide用。。。我还需要mBitmapFont.loadFont。不需要了吧、。 this.mFontName = "diyFont"; this.mBitmapFont = new Laya.BitmapFont(); //这里不需要扩展名,外部保证fnt与png文件同名 this.mBitmapFont.loadFont("res/bitmapFont/test.fnt",new Laya.Handler(this,onLoaded)); functi...

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

80. Spine骨骼动画点击区域偏移 获取不到width height [ 77%]

...te _factory: Laya.Templet;  constructor(spine, x, y, speed) {         this._factory = new Laya.Templet();         this._factory.loadAni(`../bin/res/spine_model/${spine}.sk`);         this._factory.on(Laya.Event.COMPLETE, this, this.parseComplete, [x, y]);     }     private parseComp...

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