大约有 772 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0056 秒)
Laya_社区(403) Laya2.0_文档(169) Laya_示例(108) Laya2.0_示例(67) Laya3.0_文档(12) Laya3.0_api(11) Laya2.0_api(2)
.../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
...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
... 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
.../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
...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
...是用不了吗?播放的时候报错误: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
...Dimen/scene/materialScene/Conventional/layaScene.ls", Handler.create(this, function(scene:Scene3D):void { Laya.stage.addChild(scene); var camera:Camera = scene.getChildByName("Main Camera") as Camera; camera.addComponent(CameraMoveScript); })); ```
来源: Laya2.0_文档 发布时间: 20210714
.../../source/conch/JSWrapper/LayaWrap/JSAudio.cpp:199:94: error: no matching function for call to 'laya::JCFileRes::setOnReadyCB(std::__1::__bind<bool (laya::JSAudio::*)(void*, std::__1::weak_ptr<int>), laya::JSAudio*, std::__1::placeholders::__ph<1>&, std::__1::weak_ptr<int>&...
来源: Laya_社区 发布时间: 20211111
....loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { //实例化Panel组件 var panel = new Laya.Panel(); //给panel添加背景色 panel.graphics.drawRect(0, 0, 100, 100, "#ffcccc"); //给panel设置宽高 panel.size(100, 100); //给panel设置滚动条...
来源: Laya2.0_文档 发布时间: 20210715