大约有 25 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0040 秒)
...oginView@atlas0.png",type:laya.net.Loader.IMAGE} ]; var loadcount=resArray.length; function onLoaded() { console.log("进度条"); Laya.stage.addChild(fairygui.GRoot.inst.displayObject); fairygui.UIPackage.addPackage("res/Public"); var ProgressBarPage=fairygui.UIPackage.createObject("Public","Progre...
来源: Laya_社区 发布时间: 20171207
...ou are trying to send If it's larger than 125 bytes you need to encode the length in a different manner i.e you must take the extended payload length into consideration. – Cyclonecode Jul 7 '15 at 10:22 Right, of course, so i need to use the next two (or eight) bytes to store the length instea...
来源: Laya_社区 发布时间: 20180612
... for (var i = 0, len = toloadPics.length; i < len; i++) { if (changeType) { toloadPics = folderPath + toloadPi...
来源: Laya_社区 发布时间: 20201130
...同来自: 微信里面的Function这样定义:function (){if(arguments.length>0&&"return this"===arguments[arguments.length-1])return function(){return e}} Chrome和预览里面的Function这样定义:function Function() { [native code] } 2018-03-07 0 0 分享 微博 QZONE 微信 Lay...
来源: Laya_社区 发布时间: 20180302
...nt")[0].split("/"); var fontName=tArr[tArr.length-1]; Text.registerBitmapFont(fontName,bFont); this._data=bFont; this.complete(this._data); } ...
来源: Laya_社区 发布时间: 20190402
...ull, function(sprite) { //console.log(scene.numChildren+","+sprite._childs.length); setMeshParams(sprite, Laya.StandardMaterial.RENDERMODE_OPAQUE, new Laya.Vector4(3.5, 3.5, 3.5, 1.0), new Laya.Vector3(0.6823, 0.6549, 0.6352), new Laya.Vector2(25.0, 25.0), "TERRAIN"); //setMeshParams(sprite, Laya.St...
来源: Laya_社区 发布时间: 20170707
...._text) password = false; var x = 0, y = 0; var end = Math.min(this._lines.length, visibleLineCount + begin) || 1; let color = this.color; let underline = this.underline; let bold = this.bold; for (var i = begin; i < end; i++) { var lines = this.typeLines[i]; var _word; if (this.align == "right")...
来源: Laya_社区 发布时间: 20180417
...vent.LOADED,this,load); } public function load(e:* = null):void{ if(assets.length > 0){ mc.load(assets.shift()); }else{ onAssetsLoaded(); } } private function onAssetsLoaded(e:*=null):void { this.event(BEFORLOADERFINISH); } } } 2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20161213
...ng) { console.log('switchAnimation: ' + this.meshes.length); let anitemplet = this.anies[name]; for (let mesh of this.meshes) { let ani = mesh.getComponentByType(SkinAnimations, 0) as SkinAnimations; ...
来源: Laya_社区 发布时间: 20170608
... 0 ? url.substr(0, idx + 1) : ""; for (var i:int = 0, len:int = toloadPics.length; i < len; i++) { toloadPics[i] = folderPath + toloadPics[i]; } } else { //不带图片信息 toloadPics = [url.replace(".json", ".png")]; } for(i = 0;i<toloadPics.length;i++) { var tempAtlasPngUrl:String = toload...
来源: Laya_社区 发布时间: 20180830