• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)

1381. meshRender修改材质问题 [ 47%]

...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

1382. 2.3.0发布微信小游戏,自动缓存:查找不到资源问题的Bug [ 47%]

...方    }    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

1383. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 47%]

.../?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

1384. 物理引擎,刚体施加力效果错误,有人帮忙看下吗 [ 47%]

...);   //加载精灵 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

1385. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 47%]

...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

1386. 启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 [ 47%]

.../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

1387. unity里导出的骨骼动画无法读取 [ 47%]

...下有没有错误   读取代码:    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

1388. tiledmap 可以在图块层的指定格子上添加Sprite吗 [ 47%]

...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

1389. laya.d3.core.Avatar_API3.0 [ 47%]

...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

1390. 发布微信小游戏json格式问题 [ 47%]

...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