大约有 61 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
.../Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:467:29) at LoaderManager.__proto._endLoad (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:12533:12) at Loader.onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:12510:11)...
来源: Laya_社区 发布时间: 20171118
....json 那我先引用了LayaUI.max.all.js后,再加载ui.json! Laya.loader.load([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameScenesUI(); this.addChildren(this.gameScenes); })); 但页面上却没有任何内容...
来源: Laya_社区 发布时间: 20171012
...lic/Protected All Inherited Externals Only exported Menu Globals "laya/net/Loader" Loader Class Loader Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Hierarchy EventDispatcher Loader Index Constructors constructor Properties maxLoader retryDelay retryNum ANIMATIONCLIP ...
来源: Laya3.0_api 发布时间: 20231115
...lic/Protected All Inherited Externals Only exported Menu Globals "laya/net/LoaderManager" LoaderManager Class LoaderManager LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPL...
来源: Laya3.0_api 发布时间: 20231102
playSound和playMusic结束时候有异常抛出 1. loader加载了{url:"res/music/Music_start.mp3",type:Laya.Loader.SOUND}资源 2. 加载结束后,调用Laya.SoundManager.playSound("res/music/Music_start.mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceN...
来源: Laya_社区 发布时间: 20170105
...y EventDispatcher Resource Node Transform3D SoundChannel Sound HttpRequest Loader AnimatorState AnimatorState2D Physics AnimationPlayer AxiGamepad ButtonGamepad WebXRInput WebXRSessionManager Accelerator Shake Gyroscope Socket TimeLine Index Methods event hasListener off offAll offAllCaller on once ...
来源: Laya3.0_api 发布时间: 20231115
...olor = "#101825"; this.init() } init() { // 预加载图集 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded ), null, Laya.Loader.ATLAS) } onLoaded(){ Laya.stage.addChild(new TopUI()) Laya.stage.addChild(new TabUI()) this.getGold.on(Laya.Event.MOUS...
来源: Laya_社区 发布时间: 20171213
... 微信 155*****583 赞同来自: 还有分离模式下, this.createView(Loader.getRes("../test/TestPage.json"))只能放在对应的 ui 类里面加吗,这样每次导出不就覆盖了,很不方便啊 2018-01-30 0 1 分享 微博 QZONE 微信 HennoLuo 赞同来自: @xcling的问题: 1. 在...
来源: Laya_社区 发布时间: 20161202
2.0引擎开发者使用3.0的差异汇总1、LayaAir3.0 Loader修改1.1加载一个资源1.2 加载多个资源(用数组)1.3 加载多个文件(组合)1.5 加载HTMLImage1.6 使用Options。1.7 预制体/场景的问题1.8 旧版本引擎load和create的兼容性问题1.9扩展Loader能...
来源: Laya3.0_文档 发布时间: 20251010
...nsform3D, BaseRender, Component3D, GeometryFilter, Gyroscope, HttpRequest, Loader, LoaderManager, Node, Shake, Socket, Sound, SoundChannel, Texture, TimeLine, Transform3D, TransformUV EventDispatcher 类是可调度事件的所有类的基类。 Public Methods MethodDefined By event(type:String...
来源: laya_api 发布时间: 20170929