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

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

681. 3D加载不了 [ 52%]

...-default001.lm",Laya.Handler.create(this,this.onCreateComplete));       function onCreateComplete() {    var mesh = Laya.loader.getRes("cj\cj-default001.lm");   var meshSprite3D = new Laya.MeshSprite3D(mesh);   this.scene.addChild(meshSprite3D); } //modelshow = new Laya.MeshSprite3D(Laya.Mesh...

来源: Laya_社区 发布时间: 20180427

682. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 52%]

...属性名称     *@return     */     __proto.getTileProperties=function(index,id,name){         if (this._tileProperties[index] && this._tileProperties[index][id]){             return this._tileProperties[index][id][name];         }         ret...

来源: Laya_社区 发布时间: 20190218

683. tiledMap 官方示例都运行不了 [ 52%]

...ministrator/Documents/myLaya/Hello/bin/libs/laya.core.js:14980:8)     at Function.Loader.checkNext (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.core.js:15016:40)     at Loader.__proto.complete (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.core.js:14...

来源: Laya_社区 发布时间: 20181026

684. 材质动画的使用(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 52%]

.../scene/materialScene/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); })); ```

来源: Laya2.0_文档 发布时间: 20210715

685. 微信小游戏中不能加载proto文件 [ 52%]

...  request:fail invalid url "res/protobuf/Login.proto"   具体代码: (function () { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; console.log("!____________________________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoB...

来源: Laya_社区 发布时间: 20180704

686. IDE创建3D示例项目(TypeScript-3D基础(TS)-快速开始一个LayaAir3D项目) [ 52%]

...terial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex:Laya.Texture2D) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

来源: Laya2.0_文档 发布时间: 20210714

687. laya.net.LoaderManager_API3.0 [ 52%]

...rManager 此 LoaderManager 对象本身。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231102

688. 材质动画的使用(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 51%]

.../scene/materialScene/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera") as Laya.Camera; camera.addComponent(CameraMoveScript); })); ```

来源: Laya2.0_文档 发布时间: 20210715

689. QQ 玩一玩 laya.bkadpter.js (新的版本) 报错 [ 51%]

...是用不了吗?播放的时候报错误:TypeError: tSound.play is not a function. (In 'tSound.play(startTime,loops)', 'tSound.play' is undefined)

来源: Laya_社区 发布时间: 20180328

690. 使用IDE发布小游戏时,启用了版本管理会导致使用 Laya.MiniAdpter.nativefiles 定义的本地资源文件无法加载 [ 51%]

...t.ResourceVersion;  2、第330-336行,将 MiniFileMgr.isLocalNativeFile=function(url){ for(var i=0,sz=MiniAdpter.nativefiles.length;i<sz;i++){ if(url.indexOf(MiniAdpter.nativefiles)!=-1) return true; } return false; }修改为: MiniFileMgr.isLocalNativeFile=function(url){ for(var i=0,sz=Mini...

来源: Laya_社区 发布时间: 20181212