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

大约有 633 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)

421. 安装layaair2-cmd一直失败 [ 58%]

...pm ERR! npm ERR! Failed at the gifsicle@4.0.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-02-11T...

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

422. 官方案例里摄像机绕物体旋转脚本的问题 [ 58%]

...CameraMoveScripts在2.0版本下有很多接口,属性不存在。比如this.camera.moveForward、 super._initialize(owner)、super._update(state)等,放在1.7版本里是有的。是不是LayaAir.d.ts有修改。现在有别的接口,方法替代吗,我在官方文档里找了好久都没...

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

423. 按照官方例子操作,自定义组件编译出错 [ 58%]

...fd编译报错 libs/laya/src/laya/editorUI/Component.as (86):warning:model This variable is not defined. 发现官方自定义组件教程里的地址https://github.com/layabox/layaair-ide-ui,更新时间是2016年的 代码里写的是model && model.size(_width, _height); 但是最新引...

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

424. MovieClip 报错 [ 58%]

...ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initData(data);添加了这个保护后,代码不会报错,但是你的帧循环使用创建MC不会显示,不显示的原因...

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

425. 这是为什么啊?list.push()报错? [ 58%]

...的链接 提交 1 个回复 Dr.钟 赞同来自: push前面加一行: this.aiList = []; 2019-03-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Daze 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使...

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

426. 发布app(android)后,按后退键显示有问题 [ 58%]

...的。 private void Hook() { if(!isExit) { isExit = true; Toast.makeText(this, "在按一次退出程序", Toast.LENGTH_SHORT).show(); new Timer().schedule(new TimerTask() { @Override public void run() { // TODO Auto-generated method stub isExit = false; } },2000); } else { // MobclickAgent.onKillPr...

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

427. 有关PathFinding.js [ 58%]

..., 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

428. MovieClip 报错 [ 58%]

...ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initData(data);添加了这个保护后,代码不会报错,但是你的帧循环使用创建MC不会显示,不显示的原因...

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

429. 怎样获取浏览器地址传过来的GET参数 [ 58%]

...omuser"))                 {                     this.input_jjrcode.text = gets.fromuser;                 }             } 2017-03-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 govenlive ...

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

430. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 58%]

...LayaAir IDE 2.2.0beta2版本报错    Laya.stage.on(Laya.Event.CLICK, this, () => {             Laya.loader.load("HallAni/star.part", Laya.Handler.create(this, (settings) => {                 let Particle2D = Laya.Particle2D;                 // ...

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