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

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

71. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 63%]

....getFileExtension(this._url);                     let format;                     switch (ext) {                         case "ktx":                             format = exports.TextureFormat.ETC1RGB; ...

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

72. 1.7.8新版本3d骨骼动画如何获取绑点呢 [ 63%]

...aya.loader.getRes("res/LayaScene_Fire/Fire.lh"); 先查到节点 for(var i:int = 0;i<ani._avatarNodes.length;i++) { if(AnimationNode(ani._avatarNodes[i]).name == "weaponEffect") { animationNodeTemp = ani._avatarNodes[i]; break; } } 然后通过loop来设置 effectTemp.transfor...

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

73. ios 过审3.1.1被拒 [ 63%]

... app by menans other than the in-app purchase API,which is not appropriate for the App Store . 我们注意到您的应用或其元数据可以通过除应用内购买API之外的其他手段购买应用中的内容,服务或功能,这不适用于App Store. 因为项目内没有接任何第三...

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

74. 打包app,http无法设置content-type [ 63%]

...务器上变成了 "{"a":1}"="",content-type也变成了application/x-www-form-urlencoded   代码如下: static httpRequest(method:string, url:string, data:any, headers:Array<string>, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { ...

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

75. spine 推荐使用方式 [ 63%]

...       this._needRecoverTexture = false;              for(var $each_tTexture in this.subTextureDic){                 var tTexture=this.subTextureDic[$each_tTexture];                 tTexture.bitmap = this._mainTexture.bitmap;            ...

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

76. 在浏览器上,模拟并重现SimpleSingletonList的问题了 [ 62%]

...些情况下,多次报错。(这就有点恐怖)   注:已经是 for (var i = 0, n = this.length; i < n; i++) 赋值了。   没时间去仔细改,现在用暴力方式改一下: if (index !== -1){     console.log("SimpleSingletonList:" + element + " has  in  SingletonList.");...

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

77. Dictionary问题 [ 62%]

LayaAir引擎 Dictionary问题 for each(var block:Block in _blockDict){ block.loadMosaic(); } _blockDict 是一个Dictionary,运行起来后报错,提示block.loadMosaic();不是一个函数,但我定义的的确是一个函数,不知道为什么会报错,很怪 2016-10-06 添加评论 ...

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

78. laya3.0中jszip使用异常 [ 62%]

...       console.log(zipData.files);                         for (let i in zipData.files) {                             console.log(`key=${i},value=${zipData.files[i]}`);                         }                     }                 )     ...

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

79. 如何等待多个HTTP请求结束 [ 62%]

如何等待多个HTTP请求结束 我在for循环中发起了10个http请求。http的事件处理是异步回调的。 如何知道这10个请求是否都已经返回成功。 在都返回后,进行下一步处理 2017-10-19 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

80. 新的laya 3D插件在unity 中出现bug,求解决 [ 61%]

...r in 'LayaAir3D/BlinnPhong': invalid subscript '_ShadowCoord' 'UnityComputeForwardShadows': no matching 3 parameter function at Assets/LayaAir3D/LayaShader/CGIncludes/LayaBlinnPhongFA.cginc(104) (on glcore) Compiling Vertex program with DIRECTIONAL SHADOWS_SCREEN DisableLighting LIGHTMAP_OFF Platfor...

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