大约有 375 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0041 秒)
...; box = cacheBox; } else { [b] var arr = []; [/b] for (var i = this._cells.length - 1; i > -1; i--) { var item = this._cells[i]; item.removeSelf(); arr.push(item); } this._cells.length = 0; } for (var k = startY; k < numY; k++) { for (var l = 0; l < numX; l++) { [b][i] if (arr && ar...
来源: Laya_社区 发布时间: 20180418
...美术资源地址数组) * aniName 动作的名称,用于生成url * length 动画最后一帧的索引值, */ function aniUrls(aniName,length){ var urls = []; for(var i = 0;i<length;i++){ //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push("role/"+aniName+i+"...
来源: Laya2.0_文档 发布时间: 20210715
...oint=Laya.Point.create(); for(let index:number=0;index<this.__bindList.length;index++){ source=this.__bindList[index]; SkeletonUtils.getBoneLocalPoint(this,source.boneName,position); source.x=source.offestX+position.x; source.y=source.offestX+position.y; } } destroy(destroyChild?:boolean):void...
来源: Laya_社区 发布时间: 20190805
...852; } Class.prototype.loop = function() { for (var i = 0; i < this.img.length; i++) { this.img[i].y += 1; if (this.img[i].y >= 852) { this.img[i].y = -852; } } }; return Class; }()); new function() { var className = 'BackGround'; window[className] = (function() { Laya.class(Class, className, ...
来源: Laya_社区 发布时间: 20170619
... var index=element._getIndexInList(); this.length--; if (index!==this.length){ var end=this.elements[this.length]; this.elements[index]=end; end._setIndexInList...
来源: Laya_社区 发布时间: 20190820
...美术资源地址数组) * aniName 动作的名称,用于生成url * length 动画最后一帧的索引值, */ private aniUrls(aniName: string, length: number): any { var urls: any = []; for (var i: number = 1; i < length; i++) { //动画资源路径要和动画图集打包前的资源命...
来源: Laya_社区 发布时间: 20171228
...然后,自己写算法查找和装换吧. public function readMultiByte (length:int, charSet:String):String { if(charSet=="UNICODE" || charSet=="unicode") { return readUnicode(length); } ...
来源: Laya_社区 发布时间: 20160606
...= 0, endIndex = 0x7fffffff) { if (this._children && this._children.length > 0) { var childs = this._children; if (beginIndex === 0 && endIndex >= childs.length - 1) { var arr = childs; this._children = Node.ARRAY_EMPTY; } else { arr = childs.splice(beginIndex, endIndex - beginI...
来源: Laya_社区 发布时间: 20201103
...n this._zOrder; },function(value){ if (this._zOrder !=value){ if(this.name.length > 0){ console.debug("zOrder:"+this.name+" order:"+value); } this._zOrder=value; this.conchModel && this.conchModel.setZOrder && this.conchModel.setZOrder(value); if (this._parent){ value && t...
来源: Laya_社区 发布时间: 20180412
...nAniUrl[0]); skinAni.player.play(); } for (var i = 0, n = spirit3D._childs.length; i = [ "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@walk-walk.lsani", "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@attack-attack.lsani", "../../res/threeDimen/skinModel/Zombie/ol...
来源: Laya_示例 发布时间: 20241118