大约有 170 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0063 秒)
...NAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(null, onLoaded)); }*/ function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onLoaded(): void { var rankList = new Laya.List(); //rankList.scrollBa...
来源: Laya_社区 发布时间: 20180507
...ame.jpg", type: Laya.Loader.IMAGE }, { url: "resources/UI/images/comp.atlas", type: Laya.Loader.ATLAS }, { url: "resources/UI/role/atlasAni2/139x.atlas", type: Laya.Loader.ATLAS }, { url: "scenes/Index.ls", type: Laya.Loader.HIERARCHY }, { url: "scenes/DsGameM...
来源: Laya_社区 发布时间: 20230713
... = null):void 结束加载,处理是否缓存及派发完成事件 Event.COMPLETE 。 Loader event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getAtlas(url:String):Array[static] 获取指定资源地址的图集地址列表。 Loader getRes(url:String):*[static] 获...
来源: Laya2.0_api 发布时间: 20190513
...改组件属性,场景里的对象会自动同步,无需手动 node.getComponent("MeshRenderer").props.enabled = false; 2、调用节点/组件的一个方法,并返回值。例如: //下面是UI进程代码 //获取选中的节点 let node = Editor.scene.getSelection()[0]; //调用MyScript...
来源: Laya3.0_文档 发布时间: 20251010
...请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加载线...
来源: Laya2.0_api 发布时间: 20190513
...请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加载线...
来源: Laya3.0_api 发布时间: 20231102
...Parameters url: string 图集地址或者texture地址,比如 "res/atlas/comp.atlas"或"hall/bg.jpg" Returns void clearUnLoaded clearUnLoaded(): void Defined in laya/net/Loader.ts:859 清理当前未完成的加载,所有未加载的内容全部停止加载。 Returns void event event(type: stri...
来源: Laya3.0_api 发布时间: 20231115
...:default@DoNativeStrip... after 109 ms > hvigor Finished :entry:default@CompileResource... after 857 ms > hvigor Finished :entry:default@BuildJS... after 3 ms > hvigor Finished :entry:default@CacheNativeLibs... after 20 ms > hvigor WARN: ArkTS:WARN File: /Users/HonestQiao/Documents/Laya/...
来源: Laya_社区 发布时间: 20250106
...thods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties...
来源: Laya2.0_api 发布时间: 20190513
...thods | Events Packagelaya.uiClasspublic class ListInheritanceList Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties ...
来源: Laya2.0_api 发布时间: 20190513