大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...undChannel = new SoundChannel(); SoundManager.addChannel(channel); _btn.on(Event.CLICK, this, soundClick); function soundClick(evt:Event){ alert("channel.isStoped:"+channel.isStoped); if (channel.isStoped){ channel.play(); }else{ channel.stop(); } } channel.isStoped输出是:undefined 2017-01-16 ...
来源: Laya_社区 发布时间: 20170116
...行的 求大神帮忙 let xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send("https://ask.layabox.com/static ... ot%3B, "", "get", "arraybuffer"); private completeHandler(data: ArrayBuffer) { //...
来源: Laya_社区 发布时间: 20181010
...有的AnimationClip呢? 怎样获取浏览器地址传过来的GET参数 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 分享:LayaAir下如何获取图集下的小图资源? 怎么获取对象的坐标 List滑动条会引起单元格上的按钮点击后多次触发点击事...
来源: Laya_社区 发布时间: 20170912
... constructor() { super(); Laya.stage.on(Laya.Event.KEY_UP, this, this.onKeyUp); } onKeyUp(e: Laya.Event) { if (e.keyCode == 65) {//A console.log("释放资源false") Laya.loader.clearRes("res/atlas/co...
来源: Laya_社区 发布时间: 20170317
...All Classes | Index | Frames No Frames TerrainProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainInheritanceTerrain Sprite3D Node EventDispatcher Object Terrain 类用于创建地块。 Public Properties Hide Inherited Public Properties Show Inherited Public Properti...
来源: Laya2.0_api 发布时间: 20190513
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 S_eVent 相关问题 发起问题须知,必看!!!不按提问规则的,官方拒绝解答!!! unity导出粒子文件问题 laya针对页游耗用内存大的问题是如何解决的? LayaAir3D UnityPlugin 使...
来源: Laya_社区 发布时间: 20200520
...载失败以及加载完成有自己对应的事件 加载失败请监听Event.ERROR 加载成功请监听Event.COMPLETE(该参数在loader方法中已经作为参数进行添加) 所以加载失败后会触发加载失败事件,不会重新进行加载。 2016-11-20 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20161120
....create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eyeimf.txt", Laya.Handler.create(this, this.Onloaded), null, Laya.Loader.TEXT,0,true,null,true); //console.log(Laya.Loader.loadedMap); } 另外就是加载的时候,不缓存资源,就不能读取...
来源: Laya_社区 发布时间: 20171228
... 另外显然的AS3事件机制全体阵亡喽?比如全部使用laya.event里面的事件机制是吗? 另外一些AS3非常常用的第三方库TweenMax之类的,显然也是无法用的喽?想要用的话,就得把库里面用到的原生类替换成LayaAir重新的实现的才行...
来源: Laya_社区 发布时间: 20170510
...eTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleto...
来源: Laya2.0_文档 发布时间: 20210715