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

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

1. Shader预编译解决方案 [ 100%]

... Laya.Shader3D.compileShaderByDefineNames(shaderName:string,subShaderIndex:number,passIndex:number,defines:Laya.):void;  material : BaseRender.material shader : material._shader shaderName :shader.name subShaders : shader._subShaders : Laya.SubShader  subShaderIndex : shader._subShade...

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

2. /libs/layaeditor.d.ts' severity: '错误' message: '类型“typeof display”上不存在属性“GraphicAnimation” [ 84%]

...错误,xxx/xxx/chitianshishoux.atlas TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 问题状态 最新活动: 2019-11-15 17:41 浏览: 611 关注: 2 人

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

3. layacmd atlas怎么指定输出的数据后缀为json? [ 83%]

...]     Options:       -V, --version     output the version number     -c --clear        clear will delete old ui code file.     -a --atlas        generate atlas     -d --code         generate ui code files     -m --mode <mode...

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

4. 加载 unity3D导入的旧版蒙皮动画时出现错误 [ 76%]

...   skinAni.player.play();         }         for (var i: number = 0, n: number = spirit3D._childs.length; i < n; i++)             this.addSkinComponent(spirit3D._childs[i]);     } 附件 : --> cat.zip 2018-07-24 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

5. localRotationEulerY旋转位置错误 [ 62%]

...t point2 = this.arr[1].transform.position;         let angle: number = Math.atan2((point2.x - point1.x), (point2.z - point1.z)) * (180 / Math.PI); //角度         this.arr[0].transform.localRotationEulerY = angle;         console.log("position = ",this.a...

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

6. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 62%]

...({ output: { }, numWorkers:1,//Amount of workers to spawn. Defaults to the number of CPUs minus 1 sourcemap: false })*/ ] }).then(bundle => { return bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) ...

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

7. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 60%]

...全覆盖下,不能只处理get或set,如: class A {  protected _id:number = 1;    public get id():number { return this._id }  public set id(value:number){     this._id = vaule;  } } class B extends A {   public set id(value:number){     this._id = value + 1;   } } class C extends A {...

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

8. 安装layaair2-cmd一直失败 [ 52%]

...s@<3 is no longer maintained and not recommended for usage  due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. C:\Users\Administrator\AppData\Roaming\npm\layaair2-cmd -> C:\Users\Administrator\AppData\Roaming\np m\node_modules\layaair2-cmd\layaa...

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