大约有 1,653 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1154) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(85) Laya3.0_文档(42) Laya2.0_示例(9) Laya_示例(9)
...addChild(spirit); spirit.x = 360; spirit.y = 640; const url = "lang/zh-cn/spine/hero/zhujue_attack/zhujue_attack.skel" Laya.loader.load(url).then(()=>{ let spine = spirit.addComponent(Laya.Spine2DRenderNode) spine.source = url; spine...
来源: Laya_社区 发布时间: 20250821
...Object = new Browser.window.Blob([byte.buffer], { type: "image/png" });var url:String = Browser.window.URL.createObjectURL(blob);//创建一个url对象;////我们先用第一种方式显示图片到舞台;var sp:Sprite = new Sprite();sp.loadImage(url);Laya.stage.addChild(sp);//添加到舞台 ...
来源: Laya_社区 发布时间: 20180620
...ya接入fairyGUI的时候资源加载方式? Laya.loader.load([{ url: "res/Basics_atlas0.png", type: laya.net.Loader.IMAGE }, { url: "res/Basics.fui", type: laya.net.Loader.BUFFER }, { url: "res/MainMenu_atlas0.png", type: laya.net.Loader.IMAGE }, { url: "res/MainMenu.fui",...
来源: Laya_社区 发布时间: 20191107
...e Hierarchy HLODResourceGroup Index Properties loaded resources updateMark url Methods load release Properties loaded loaded: boolean Defined in laya/d3/component/HLOD/HLODUtil.ts:87 resources resources: HLODElement[] Defined in laya/d3/component/HLOD/HLODUtil.ts:86 updateMark updateMark: number Def...
来源: Laya3.0_api 发布时间: 20231115
...r.load方法将文件加载完,然后通过: __JS__('wx').postMessage({url:url,data:tempData,isLoad:"filedata"}); 说明: url是图集文件的路径; tempData:是图集文件的json数据; isLoad:为filedata,这个是固定死的,不能修改 在主域里通过消息透传,把数...
来源: Laya_社区 发布时间: 20180525
...oxy = Laya.PlatformClass.createClass(className); jsProxy.call("playVideo", url); } ---JSProxy.h #import <Foundation/Foundation.h> @interface JSProxy : NSObject +(void)playVideo: (NSString*) url; // 只支持对象类型String类型用NSString @end ---JSProxy.mm #import "JSProxy.h" #impor...
来源: Laya_社区 发布时间: 20170919
iOS 重新初始化引擎 场景:游戏大厅(controllerA加载url_1)点击进入某个游戏(controllerB加载url_x), controllerB初始化报错 [[conchRuntime alloc] initWithView:self.m_pGLKView EAGLContext:self.m_pEAGLContext downloadThreadNum:3 URL:self.url]; 初始化报错 附件 : --> 2...
来源: Laya_社区 发布时间: 20180809
...ructors constructor Properties _id api data destroyedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDep addDep...
来源: Laya3.0_api 发布时间: 20231115
...e Index Constructors constructor Properties destoryedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _parse _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDep...
来源: Laya3.0_api 发布时间: 20231102
...); }else { var ltcBasePath=URL.getPath(loader.url); var urls=[ Laya3D.formatRelativePath(ltcBasePath,ltcData.front), Laya3D.formatRelativePath(ltcBasePath,ltcData.back), ...
来源: Laya_社区 发布时间: 20180508