大约有 182 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0038 秒)
....getFileExtension(this._url); let format; switch (ext) { case "ktx": format = exports.TextureFormat.ETC1RGB; ...
来源: Laya_社区 发布时间: 20201130
...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
... app by menans other than the in-app purchase API,which is not appropriate for the App Store . 我们注意到您的应用或其元数据可以通过除应用内购买API之外的其他手段购买应用中的内容,服务或功能,这不适用于App Store. 因为项目内没有接任何第三...
来源: Laya_社区 发布时间: 20180417
...务器上变成了 "{"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
... this._needRecoverTexture = false; for(var $each_tTexture in this.subTextureDic){ var tTexture=this.subTextureDic[$each_tTexture]; tTexture.bitmap = this._mainTexture.bitmap; ...
来源: Laya_社区 发布时间: 20201128
...些情况下,多次报错。(这就有点恐怖) 注:已经是 for (var i = 0, n = this.length; i < n; i++) 赋值了。 没时间去仔细改,现在用暴力方式改一下: if (index !== -1){ console.log("SimpleSingletonList:" + element + " has in SingletonList.");...
来源: Laya_社区 发布时间: 20200910
LayaAir引擎 Dictionary问题 for each(var block:Block in _blockDict){ block.loadMosaic(); } _blockDict 是一个Dictionary,运行起来后报错,提示block.loadMosaic();不是一个函数,但我定义的的确是一个函数,不知道为什么会报错,很怪 2016-10-06 添加评论 ...
来源: Laya_社区 发布时间: 20161006
... console.log(zipData.files); for (let i in zipData.files) { console.log(`key=${i},value=${zipData.files[i]}`); } } ) ...
来源: Laya_社区 发布时间: 20230208
如何等待多个HTTP请求结束 我在for循环中发起了10个http请求。http的事件处理是异步回调的。 如何知道这10个请求是否都已经返回成功。 在都返回后,进行下一步处理 2017-10-19 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20171019
...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