大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...oop); Laya.scaleTimer.clear(this,this._doEase); 以下是Tween类里面的 create 函数的代码段 BUG就出在 Laya.scaleTimer.once(delay,this,this.firstStart,[target,props,isTo]); if (runNow){ if (delay <=0)this.firstStart(target,props,isTo); else Laya.scaleTimer.once(delay,this,this.firstSta...
来源: Laya_社区 发布时间: 20180123
...也遇到了这个问题 Texture2D.load("res/env/mountain1_3.png", Handler.create(null, function(tex:Texture2D):void { menu_sprite_jian.graphics.drawTexture(tex,0,0); }));这样然后无法drawtexture报同样的错误 但是这个type要如何加上去...
来源: Laya_社区 发布时间: 20190508
...er); var _proto_ = CommonDlg.prototype; _proto_.closeEffect = Laya.Handler.create(null, this.onCloseEffect, null, true); _proto_.onCloseEffect = function () { console.log("in on close effect") this.close(); } return CommonDlg; })(Laya.Dialog);console.log并未输出任何东西 2017-11-07 添加评...
来源: Laya_社区 发布时间: 20171107
...caught Can not find scene:test/TestScene.scene, location: undefined:0:0 [0]create@(no filename):6700 [1]__proto.run@(no filename):2271 [2]__proto.event@(no filename):2221 [3]__proto._checkNext@(no filename):5620 [4]__proto.onOneLoadComplete@(no filename):5620 [5]__proto.run@(no filename):2271 [6]__p...
来源: Laya_社区 发布时间: 20190820
.../h5目录下 下面是代码: Laya.loader.load("Base.min.js", Handler.create(this,loadedHandler)); function loadedHandler(data:*):void{ //加载完回调 //__JS__('window.eval(data + "//# sourceURL=" + "Base.min.js")'); //new需要的类 //_base = new Browser.window.Base(); _base = __JS__('n...
来源: Laya_社区 发布时间: 20180507
...来自: Laya.Scene3D.load("LayaScene_layaScene/layaScene.lh",Laya.Handler.create(null,function(scene){ })) 路径没问题的 2018-10-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 吴珂 相关问题 2.0一不小心删了bin...
来源: Laya_社区 发布时间: 20181015
...ame:String, txt:String):void[static] Shader3D bind():BooleanShader3D create(vs:String, ps:String, attributeMap:Object, sceneUniformMap:Object, cameraUniformMap:Object, spriteUniformMap:Object, materialUniformMap:Object, renderElementUniformMap:Object):Shader3D[static] Shader3D uploadAttribu...
来源: laya_api 发布时间: 20170929
...; function __() { this.constructor = d } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __) } }(); 然后运行代码会报Uncaught TypeError: LayerManager is not a constructor的错误 我看到Laya有一个Laya.class的方法,请问这个能解决这个问题吗 2...
来源: Laya_社区 发布时间: 20171212
...load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } 这里的dd=__JS__("window.loadingView"); 换成 ts 怎么写 Apple • 2018-04-16 16:22 直接 Laya.Browser.window.loadingView
来源: Laya_社区 发布时间: 20180416
...ab,b场景也包含预制体hero.prefab 在a场景通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)获取这个对象时,获取成...
来源: Laya_社区 发布时间: 20200309