大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...= android.os.Process.myPid()) { return processInfo.processName; } } return null; }if (!Utils.getProcessName(this).equals("YOUR_SECOND_PROCESS_NAME")) { MobileAds.initialize(this); } else { WebView.setDataDirectorySuffix("dir_name_no_separator") } 2020-08-31 0 2 分享 微博 QZONE 微信 邦邦 赞...
来源: Laya_社区 发布时间: 20200829
...法,这样调用. Laya.Handler.create(this, function(e){ console.log(e) }, null, false)关键在于最后第四个once参数,一定要传false,不然只调用一次. 在laya.core.js中Handle类的源码里可以看到,在create方法中,如果不传once参数,默认会设会true. 然后在runWith...
来源: Laya_社区 发布时间: 20180101
...bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu.ttf"); if(Browser.window.conch) { Browser.window.conch.setFontFaceFromBuffer("hu",arr); } var text:Text=new Text(); text.fon...
来源: Laya_社区 发布时间: 20161219
...:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1) 获得只能是一个矩形,请问Laya应该如何实现同样的功能? 2017-04-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20170414
...mo】 报错内容: Uncaught TypeError: Cannot read property 'length' of null at Scene3D.__proto._activeHierarchy (laya.core.js:13721) at Scene3D.__proto._onAdded (laya.core.js:13770) at Scene3D.__proto._setParent (laya.core.js:13486) at Scene3D.__proto._setParent (laya.cor...
来源: Laya_社区 发布时间: 20190124
... partIns.y = Laya.stage.mouseY; }), null, Laya.Loader.JSON); }) 错误信息:TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader' 2019-08-08 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20190808
...ature():void { if(this.m_spineCopmleteFun != null) { var sk:Skeleton = this.mFactory.buildArmature(0); return this.m_spineCopmleteFun.apply(this.m_completeCaller,[sk]); } } 2...
来源: Laya_社区 发布时间: 20170801
... 报错信息: Uncaught TypeError: Cannot read property 'scene' of null at goldItemNode._onAdded (libs/laya.core.js:13226) at goldItemNode._onAdded (libs/laya.d3.js:10592) at Sprite3D._addComponentInstance (libs/laya.core.js:13244) at Sprite3D.addComponent (libs/laya....
来源: Laya_社区 发布时间: 20200326
...in未加载完的image后报错 TypeError: Cannot set property 'pivotX' of null at Image._setPivotX (file:///E:/CarCrash/Program/trunk/ClientLaya2.0/CarCrash/bin/libs/laya.core.js:13660:26) at Image.set pivotX [as pivotX] (file:///E:/CarCrash/Program/trunk/ClientLaya2.0/CarCrash/bin/libs/laya.core.j...
来源: Laya_社区 发布时间: 20190904
...ite3D.load("res/LayaScene_Model_71008/Model_71008.lh", Laya.Handler.create(null, function(sprite:Laya.Sprite3D):void { scene.addChild(sprite); sprite.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); })); 报错信息 Uncaught TypeError: Cannot read property 'transform' of undefined a...
来源: Laya_社区 发布时间: 20200104