大约有 778 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(405) Laya2.0_文档(169) Laya_示例(108) Laya2.0_示例(67) Laya3.0_文档(16) Laya3.0_api(11) Laya2.0_api(2)
...-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
...属性名称 *@return */ __proto.getTileProperties=function(index,id,name){ if (this._tileProperties[index] && this._tileProperties[index][id]){ return this._tileProperties[index][id][name]; } ret...
来源: Laya_社区 发布时间: 20190218
...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
.../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
... 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
...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
...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
.../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
...是用不了吗?播放的时候报错误:TypeError: tSound.play is not a function. (In 'tSound.play(startTime,loops)', 'tSound.play' is undefined)
来源: Laya_社区 发布时间: 20180328
...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