大约有 2,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1424) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(44) Laya2.0_api(7) laya_api(6)
...e.log("starConnection"); conn=new HttpRequest(); conn.once(Event.PROGRESS, this, onHttpRequestProgress); conn.once(Event.COMPLETE, this, onHttpRequestComplete); conn.once(Event.ERROR, this, onHttpRequestError); var buffBody=new Byte(); buffBody.endian=Byte.BIG_ENDIAN; buffBody.writeInt32(9); buffBod...
来源: Laya_社区 发布时间: 20160726
...属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。 duration:int — 花费的时间,单位毫秒。 ease:Function (default = null) — 缓动类型,默认为匀速运动。 complete:Handler (default = null) ...
来源: laya_api 发布时间: 20170929
...// 尝试获取当前位置 Geolocation.getCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.ac...
来源: Laya2.0_文档 发布时间: 20210714
...layAction(act:string):void { var animationclip:Laya.AnimationClip = this.animator.getClip(action); if(animationclip){ this.animator.play(act); } } 现象描述:角色正在挂机放技能打怪,当挂机时间过长后,角色卡在动作的某一帧上,不再...
来源: Laya_社区 发布时间: 20180828
...ransform.localPositionZ); GameUI.instance.sences.addChild(aa); console.log(this.owner); 2019-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20191111
...成后播放站立动画 shared.on(Event.COMPLETE,this,onAniComplete,[ani]); //播放攻击动画 ani.play(); 在unity里测试正常,导出的时候也生成了 lani文件,和Lm同放在上面的网络地址里,同一个...
来源: Laya_社区 发布时间: 20180118
... 华为手机 SoundManager.playSound("GameSound/aa/bb.mp3", 1,new Handler(this,soundComplete,[aa,bb])); 没有音效 上面执行完毕后 不会 执行soundComplete private function soundComplete(aa,bb):void { //执行代码 } 2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180314
...playerAnim.loadAtlas("/desktop/atlasSource/playerAtlas",Laya.Handle.create(this,this.onAtlasLoad),"playerAnim"); function onAtlasLoad(){ console.log("图集加载完毕"); Laya.stage.addChild(playerAnim); } 所以我使用json是需要更多的设置吗 2018-06-20 添加评论 免费...
来源: Laya_社区 发布时间: 20180620
...ctor() { super(); } onAwake(): void { Laya.loader.create(this.resource, Laya.Handler.create(this, this.onPreLoadFinish)); } onPreLoadFinish() { //初始化3D场景 let test = Laya.Loader.getRes("gate/Conventional/Test.ls") let scene =...
来源: Laya_社区 发布时间: 20190925
...d(Sprite3D.load("part.lh")) as Sprite3D; part.once(Event.HIERARCHY_LOADED, this, function():void{ part.transform.localScale = new Vector3(3, 3, 3); }); 我按照这个调整粒子大小,不起作用啊 2018-07-09 0 6 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: effect.once(L...
来源: Laya_社区 发布时间: 20180705