大约有 444 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(361) Laya3.0_api(23) Laya2.0_文档(19) Laya_示例(14) Laya2.0_示例(12) Laya2.0_api(7) laya_api(6) Laya3.0_文档(2)
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/Loader" LoadTask Class LoadTask Hierarchy LoadTask Implements ILoadTask Index Constructors constructor Properties ext loader obsoluteInst onComplete onProgress options progress type url uuid Methods reset Constructors con...
来源: Laya3.0_api 发布时间: 20231115
...的方式进行监听网络变化,代码如下: if( conch ) { conch.setNetworkEvtFunction(function(type) { alert(type) }); } 注意: 1、conch只能在LayaNative环境下调用,在网页版本中是没有conch定义的,所以需要判断一下是否存在。 在LayaAir-IDE中的脚本中...
来源: Laya3.0_文档 发布时间: 20251010
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/URL" URL Class URL URL 提供URL格式化,URL版本管理的类。 引擎加载资源的时候,会自动调用formatURL函数格式化URL路径 通过basePath属性可以设置网络基础路径 通过设置customForm...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/LocalStorage" LocalStorage Class LocalStorage LocalStorage 类用于没有时间限制的数据存储。 Hierarchy LocalStorage Index Properties _baseClass items support Methods clear getItem getJSON removeItem setItem se...
来源: Laya3.0_api 发布时间: 20231115
... Public/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 ANIMATIONC...
来源: Laya3.0_api 发布时间: 20231115
LayaAirIDE尝试与ASP.NET混合开发时BIN目录与ASP.NET冲突 LayaAirIDE尝试与ASP.NET混合开发时bin目录与ASP.NET冲突,bin目录在AP.NET项目为引用类库目录为禁止访问的目录,所以在IIS访问部署后访问:yourname.com/bin/index.html这个路径时被拒绝访...
来源: Laya_社区 发布时间: 20181222
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/BatchProgress" BatchProgress Class BatchProgress Hierarchy BatchProgress Implements IBatchProgress Index Constructors constructor Accessors itemCount Methods createCallback reset update Constructors constructor new BatchP...
来源: Laya3.0_api 发布时间: 20231115
...化,代码如下: JS代码如下 ```javascript if( conch ) { conch.setNetworkEvtFunction(function(type) { alert(type) }); } ``` AS代码如下: ```javascript if ( Render.isConchApp) { Browser.window["conch"].setNetworkEvtFunction(function(type):void { alert(type) }); } ``` **返回值类为int...
来源: Laya2.0_文档 发布时间: 20210714
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/WorkerLoader" WorkerLoader Class WorkerLoader Worker Image加载器 Hierarchy WorkerLoader Index Properties workerPath Accessors enable Methods load workerSupported Properties Static workerPath workerPath: string = "libs/...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/ResourceVersion" ResourceVersion Class ResourceVersion 资源版本的生成由layacmd或IDE完成,使用 ResourceVersion 简化使用过程。 调用 enable 启用资源版本管理。 Hierarchy ResourceVersion Index P...
来源: Laya3.0_api 发布时间: 20231102