大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
...OLOR ,null,0); } private function ef():void { if( TheGame.GetServerTime() > endTime ){ this.stop(); return; } var now:int = ( endTime - TheGame.GetServerTime() )/cdTime * 360; this.set360(now); } public function play(time:int,startTime_:int = 0):void { this.cdTime = time; var startTime:int = ( (s...
来源: Laya_社区 发布时间: 20171124
TypeError: relativePath is undefined 文档 --> 扩展模块 --> 用LayaAir引擎解析Tiled Map地图 我的代码完全是复制的,一个字都不差 但是运行之后报错:TypeError: relativePath is undefined 文档传送门:https://ldc.layabox.com/doc/?nav=zh-js-3-4-0 2017-12-05 ...
来源: Laya_社区 发布时间: 20171205
... 风信子 赞同来自: private createAnimation(images: Array<string>): Laya.Animation { this.animation = new Laya.Animation(); this.ui.addChild(this.animation); this.animation.loadImages(images); this.animation.interval = 70; this.animation.play(0); return this.animation } 我不知道你...
来源: Laya_社区 发布时间: 20190325
...olObj.getCollisionFlags(); if ((this.owner).isStatic){ if ((flags & 2)> 0) flags=flags ^ 2; flags=flags | 1; }else { if ((flags & 1)> 0) flags=flags ^ 1; flags=flags | 2; } btColObj.setCollisionFlags(flags); this._nativeColliderObject=btColObj; _super.prototype._onAdded.call(this); }...
来源: Laya_社区 发布时间: 20190321
...正式版签名的问题: 1) 在发布窗口打开的情况下,菜单 -> 帮助 -> 开发人员工具 执行 codeMain.publishProWin2.openDevTools() 2) 发布完成后,拷贝发布log到文件,附加到问题里,我们排查一下 2020-01-07 0 0 分享 微博 QZONE 微信 周少卿...
来源: Laya_社区 发布时间: 20200103
.../ isPlayIng:boolean = false /** 空格 */ private space:string = "<span> </span>" constructor() { super() this.width = 1200 this.height = 55 this.visible = false this.pos(565,150) this._createHorn() this._createBg() this._createView() th...
来源: Laya_社区 发布时间: 20180314
...中包围盒是否包含另一个点 if(this.num2 == 1) { if(this.tsizex > this.osizex && this.tsizez > this.osizez) { var eat = new Laya.Vector3(0, 0.5, 0);//龙卷风方法直接上升 other.owner.transform.translate(eat,true,false); //0.1秒后删除 Laya.timer.once(100, null, Wipe)...
来源: Laya_社区 发布时间: 20181017
...候就会有问题。 ts里官方可以用/// <reference path="A.ts" />来引用到其他文件中的类。 但是laya在编译的时候,并没有把其他文件的ts转换到bundle.js中。导致在运行过程中找不到。 laya只处理了import {A} from "......" 。这样用的真的...
来源: Laya_社区 发布时间: 20190302
...ro/zhujue_attack/zhujue_attack.skel" Laya.loader.load(url).then(()=>{ let spine = spirit.addComponent(Laya.Spine2DRenderNode) spine.source = url; spine.skinName = "default"; spine.play("idle", true); spirit.postProcess = new L...
来源: Laya_社区 发布时间: 20250821
..._dataObj[this._valueName]=this._value; SaveBase._cache[SaveBase._cache._length++]=this; this._newSubmit && (context._curSubmit=Submit.RENDERBASE,context._renderKey=0); } SaveBase._createArray=function(){ var value=; value._length=0; return value; } SaveBase._init=function(){ var namemap=Save...
来源: Laya_社区 发布时间: 20171104