大约有 1,489 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1084) Laya3.0_api(156) Laya2.0_api(101) laya_api(89) Laya2.0_文档(31) Laya3.0_文档(23) Laya2.0_示例(3) Laya_示例(2)
...法改了,改成了这样: public function dispose():void { delete _dataCache[url]; delete __loadingSound[url]; this.audioBuffer = null; this.data = null; this.__toPlays = []; super.dispose(); } 如果不添加最后4行代码的话,每次切换回来内存就都会上涨了,现在是...
来源: Laya_社区 发布时间: 20180205
.../com.korea.googleplay E/LayaBox: JsAppCache::loadCachedURL Error, no cache data. 03-27 17:01:24.046 27337-28585/com.korea.googleplay I/LayaBox: onLayaInitError error=Load start url error 03-27 17:01:24.054 27337-28585/com.korea.googleplay I/LayaBox: alert=加载游戏失败,可能由于您的网...
来源: Laya_社区 发布时间: 20180327
... { fileReader.readAsDataURL(file.files[0]); } } var _this:* = this; fileReader.onload = function(evt):void { ...
来源: Laya_社区 发布时间: 20170706
...直接对 sprite.shaderValue.water_iTime += 1 } var texture = sprite.image_data const width = sprite.set_width const height = sprite.set_height var new_texture = sprite.drawToCanvas(width, height, 0, 0) new_texture = ls.Texture.create(new_texture, 0, 0) sprite.shaderValue = new ShaderValue() // 关...
来源: Laya_社区 发布时间: 20180531
... 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frame...
来源: laya_api 发布时间: 20170929
...制台报错是什么 15818760256 • 2018-02-08 14:19 send(url: string, data?: any, method?: string, responseType?: string, headers?: Array<any>): void; 这个发送的时候加入header,header里面的key-value如果key是固定的命名吗?如果value值是"Access-Control-Allow-Ori...
来源: Laya_社区 发布时间: 20180208
...ed, try LegacySniffFFMPEG 07-16 13:28:21.322 172-474/? E/FFmpegExtractor: /data/data/com.layabox.game/LayaCache/appCache/9ea141a6/18ac4122_dreams.mp3: avformat_open_input failed, err:Permission denied 07-16 13:28:21.322 1331-1331/com.layabox.game E/MediaPlayer: Should have subtitle controller alread...
来源: Laya_社区 发布时间: 20190716
... 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frame...
来源: laya_api 发布时间: 20170929
...ease use 'module: "ES2015"' or 'module: "ESNext"'. 附件 : --> PigGameOpenData.zip 2019-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: 1) 在之前的逻辑中,点击发布会更新编...
来源: Laya_社区 发布时间: 20191220
...源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需...
来源: Laya3.0_api 发布时间: 20231115