大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
Laya_社区(1103) Laya2.0_文档(182) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(30)
...house1 (file:///E:/LayaWorkspace/javaScriptLaya/src/warehouse.js:74:43) at Handler.__proto.run (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:697:26) at ResInfo.onLoaded (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12723:28) at EventHandler.__proto.runWith (file:///...
来源: Laya_社区 发布时间: 20171226
...方 } else { MiniFileMgr.downOtherFiles(tempUrl, new Laya.Handler(MiniLoader, MiniLoader.onDownImgCallBack, [url, thisLoader]), tempUrl); } } else thisLoader._loadImage(url, true);//修改地方 } else { thisLoader._loadImage(url, true);//修改地...
来源: Laya_社区 发布时间: 20191129
.../?Particle_T1 ) 主要就是: Laya.loader.load("SnowParticle.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); public function onAssetsLoaded(settings:ParticleSetting):void { sp = new Particle2D(settings); ...
来源: Laya_社区 发布时间: 20170522
...); //加载精灵 Sprite3D.load("LayaScene_cu_demo/Conventional/Cu.lh", Handler.create(null, function(sp:Sprite3D):void { cu = scene.addChild(sp) as Sprite3D; cu.transform.rotate(new Vector3(0, -90, 0), true, false); _rb = cu.getComponent(Rigidbody3D) as Rigidbody3D; })); //施加作用力或...
来源: Laya_社区 发布时间: 20190417
...t); let partPath = "res/aixin_bao.part"; Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } onAssetsLoaded(settings) { // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源 ...
来源: Laya_社区 发布时间: 20190704
.../hall/login.atlas", type: Laya.Loader.ATLAS}, ] Laya.loader.load(resArray, Handler.create(null, function(){ console.log("回调")})); 这样用Laya.loader.load加载在微信web开发者工具触发不了回调,资源的url都是有资源的, Laya.URL.basePath的路径也是对的 laya sdk...
来源: Laya_社区 发布时间: 20180426
...下有没有错误 读取代码: Laya.loader.create("res/1.lh",Handler.create(this,onModelOK),null,Sprite3D); private function onModelOK():void { //添加3D场景 var scene:Scene = new Scene(); Laya....
来源: Laya_社区 发布时间: 20180116
...dMap地图 this.tMap.createMap("map/"+mapname+".json",viewRect, laya.utils.Handler.create(this, this.test));//, null, new Laya.Point(1600, 816)); } private test(){ var testLayer:Laya.MapLayer = this.tMap.getLayerByName("player"); this.tMapPlayer = new Laya.Sprite(); this.tMapPlayer.graphics.drawRect...
来源: Laya_社区 发布时间: 20170627
...lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/d3/core/Avatar.ts:35 加载Avatar文件。 Parameters url: string Avatar文件。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/core/Avatar" Avatar constructor destoryedImmedia...
来源: Laya3.0_api 发布时间: 20231102
...nReadNativeCallBack (http://127.0.0.1:9973/game/code.js:21386:25) at Handler.__proto.runWith (http://127.0.0.1:9973/game/code.js:712:41) at Function.success (http://127.0.0.1:9973/game/code.js:21580:33) at Object.success (http://127.0.0.1:9973/game/__d ... :18788) at c (http:...
来源: Laya_社区 发布时间: 20180205