大约有 585 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0045 秒)
Laya_社区(436) Laya2.0_文档(39) Laya_示例(27) Laya3.0_api(24) Laya3.0_文档(22) Laya2.0_示例(21) Laya2.0_api(10) laya_api(6)
...0; i = tAnimNum) { mActionIndex = 0; } for (var i = 0, n = mAnimationArray.length; i = []; private mFactory: Templet; constructor() { this.mSpacingX = Browser.width / this.colCount; this.mSpacingY = Browser.height / this.rowCount; Laya.init(Browser.width, Browser.height, WebGL); Stat.show(); this.mT...
来源: Laya_示例 发布时间: 20241125
...var j = 0; j < this.aaa.playerNameList[this.turnNumber].playerhandpoker.length; j++) { for (var k = 0; k < this.outHandPoker.length; k++) { if (this.outHandPoker[k] == this.aaa.playerNameList[this.turnNumber].playerhandpoker[j]) { this.aaa.playerNameList[this.turnNumber].playerhandpoker.splice...
来源: Laya_社区 发布时间: 20180626
...0; i = tAnimNum) { mActionIndex = 0; } for (let i = 0, n = mAnimationArray.length; i = []; private mFactory: Templet; constructor() { this.mSpacingX = Browser.width / this.colCount; this.mSpacingY = Browser.height / this.rowCount; Laya.init(Browser.width, Browser.height, WebGL); Stat.show(); this.mT...
来源: Laya2.0_示例 发布时间: 20241125
... dampingRatio; leg1.addComponentIntance(distanceJoint1); distanceJoint1.maxLength = distanceJoint1.minLength = distanceJoint1.length || distanceJoint1.joint.GetLength() * Laya.Physics.PIXEL_RATIO; let distanceJoint2 = new Laya.DistanceJoint(); distanceJoint2.otherBody = legBody2; distanceJoint2.self...
来源: Laya2.0_示例 发布时间: 20241125
...; 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
...text !== value) { var a:Array = (value + "").split("|"); var p:Array; if(a.length > 1){ p = a.slice(1); lang(a[0],p); }else if(a.length == 1){ lang(a[0]); }else { lang(""); } isChanged = true; event(Event.CHANGE); } }public function lang(text:String, args:Array = null):void { text = langPacks &am...
来源: Laya_社区 发布时间: 20180820
...*/0){ var positions=meshCollider.mesh._positions; for (var i=0,n=positions.length;i < n;i++){ if (Collision.sphereContainsPoint(this.boundSphere,positions[i])===/*laya.d3.math.ContainmentType.Contains*/1) return true } return false; }else { return false; } break ; 上面代码中的 var positi...
来源: Laya_社区 发布时间: 20181114
...现在有一个问题,我在layabox调试器上提示我XmlList对象的length方法不可用,我的游戏数据都是存在xml文件里面的,现在读取不到 Laya_Aaron • 2018-08-01 14:30 http://layaair.ldc.layabox.com ... 3DXML 看看我们的demo,取不到可以加断点查一下到...
来源: Laya_社区 发布时间: 20180801
...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
...的真实坐标 */ private getRealPosition(start, path): any { this.resPathLength = path.length; var minX = this.terrainSprite.minX; var minZ = this.terrainSprite.minZ; var cellX = this.terrainSprite.width / this.aStarMap.width; var cellZ = this.terrainSprite.depth / this.aStarMap.height; var halfCe...
来源: Laya3.0_文档 发布时间: 20230303