大约有 1,155 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0059 秒)
Laya_社区(864) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(35) laya_api(2) Laya2.0_api(2)
...Laya.Browser.width,Laya.Browser.height,Laya.WebGL); //创建TiledMap实例 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(); //创建TiledMap地图 this.tMap.createMap("res/TiledMap/orthogonal.json",viewRect); } } new GameMain...
来源: Laya2.0_文档 发布时间: 20210715
...artUI { constructor() { super(); this.btnStart.on(Laya.Event.CLICK, this, this.startGame); } startGame(): void { //Laya.Scene.open("GameView.scene"); if (!Main.gameView) { Main.gameVie...
来源: Laya_社区 发布时间: 20190510
...Laya.Browser.width,Laya.Browser.height,Laya.WebGL); //创建TiledMap实例 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect = new Laya.Rectangle(0,0,Laya.Browser.width,Laya.Browser.height); //创建TiledMap地图 this.tMap.createMap("res/TiledMap/orthogonal.json",...
来源: Laya2.0_文档 发布时间: 20210715
...0,600,WebGL); index=15; mFactory=new Templet(); mFactory.on(Event.COMPLETE,this,omTemLoaded); mFactory.loadAni('NewDragon/NewDragon.sk'); } private function omTemLoaded():void { mArmature=mFactory.buildArmature(0); Laya.stage.addChild(mArmature); Laya.stage.on(Event.CLICK,this,onClick); mArmature.pl...
来源: Laya_社区 发布时间: 20170509
...属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。 * @param duration 花费的时间,单位毫秒。 * @param ease 缓动类型,默认为匀速运动。 *...
来源: Laya_社区 发布时间: 20180621
...Clip(totalAnimationClip,"runShoot",startFrame); animator.on(Event.STOPPED, this, this.removeClip); animator.on(Event.COMPLETE, this, this.removeClip); animator.play("runShoot"); 2018-07-26 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个要在unity 里面进行切片,从那一帧开...
来源: Laya_社区 发布时间: 20180725
...让项目开发更高效。class Physics_Physics_Tumbler { constructor() { this.count = 0; this.totalBox = 200; Laya.Config.isAntialias = true; Laya.Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable({ gravity: 0 }); Laya.PhysicsDebugDra...
来源: Laya2.0_示例 发布时间: 20250222
...JS代码,的确有问题,data.unshift没有判断是否是数组 if (this.method==null)return null; var id=this._id; if (data==null) var result=this.method.apply(this.caller,this.args); else if (!this.args && !data.unshift)result=this.method.call(this.caller,data); else if (this.args)res...
来源: Laya_社区 发布时间: 20170215
...fined错误 LayaAirIDE2.2 - Laya3D init error ,must support webGL Warning!,this class[MiniAdpter] already exist: Object {init: } 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 问题状态 最新活动: 2018-04-23 11:15 浏览: 747 关注: 2 人
来源: Laya_社区 发布时间: 20180421
...class A { protected _id:number = 1; public get id():number { return this._id } public set id(value:number){ this._id = vaule; } } class B extends A { public set id(value:number){ this._id = value + 1; } } class C extends A { public get id():number { return this._id } ...
来源: Laya_社区 发布时间: 20161109