大约有 2,127 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1975) laya_api(36) Laya3.0_文档(32) Laya3.0_api(29) Laya2.0_文档(25) Laya2.0_api(20) Laya_示例(5) Laya2.0_示例(5)
...r.on('event', (event) => { // event.code 会是下面其中一个: // START — 监听器正在启动(重启) // BUNDLE_START — 构建单个文件束 // BUNDLE_END — 完成文件束构建 // END — 完成所有文件束构建 // ERROR — 构建时遇到错误 // FATAL — 遇到无可...
来源: Laya_社区 发布时间: 20201223
...); }LayaAir环境下: var sprite:Sprite = new Sprite(); //方法一------start sprite.graphics.drawRect(100,100,100,100,"#ff9900"); var hitarea:HitArea = new HitArea(); var graphics:Graphics = new Graphics(); graphics.drawRect(100,100,100,100,"#ff9900"); hitarea.hit = graphics; sprite.hitArea = hi...
来源: Laya_社区 发布时间: 20170207
...58,70"; } /**开始游戏,通过激活本脚本方式开始游戏*/ startGame(): void { if (!this._started) { this._started = true; this.enabled = true; } var ground=this.owner.getChildByName("ground"); ground.addComponent(Laya.ChainCollider); this._chains=ground.getComponent(Laya.C...
来源: Laya_社区 发布时间: 20181128
如何能监听到TouchStart和TouchEnd事件 如何能监听到TouchStart和TouchEnd事件 2017-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 189*****192 赞同来自: Sean8023 Laya.stage.on(Event.MOUSE_U...
来源: Laya_社区 发布时间: 20170601
...ad thread num = 3 04-18 17:26:51.141 1371-1402/com.etvtech.pvsz I/LayaBox: start thread:image decode,1402 04-18 17:26:51.151 1371-1371/com.etvtech.pvsz I/LayaBox: createOpenALSource current num=10 04-18 17:26:51.151 1371-1371/com.etvtech.pvsz E/LayaGameEngine: game_plugin_init soPath= jarfile= appca...
来源: Laya_社区 发布时间: 20190418
...end _getSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTextureCube(s...
来源: Laya3.0_api 发布时间: 20231102
...rent num=10 2019-05-10 17:10:38.479438+0800 SwiftLayaNative[98971:4069811] Start js scripts/apploader.js 2019-05-10 17:10:38.479618+0800 SwiftLayaNative[98971:4069811] OpenGL ES version [OpenGL ES 3.0 APPLE-17.0.37] 2019-05-10 17:10:38.479792+0800 SwiftLayaNative[98971:4069811] INFO:gles 支持的...
来源: Laya_社区 发布时间: 20190510
...(!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_at...
来源: Laya_社区 发布时间: 20180910
...502; 控制台日志如下: 2018/10/8 下午12:12 Gradle sync started 下午12:12 Project setup started 下午12:12 Gradle sync finished in 5s 581ms 下午12:12 Executing tasks: [:app:generateDebugSources] 下午12:12 Gradle build finished in 1s 978ms 下午12:12...
来源: Laya_社区 发布时间: 20181008
...end _getSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once protected recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new MulSample...
来源: Laya3.0_api 发布时间: 20231102