大约有 282 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0039 秒)
Laya_社区(193) Laya2.0_文档(46) Laya3.0_api(16) Laya3.0_文档(8) Laya2.0_api(6) Laya_示例(6) laya_api(4) Laya2.0_示例(3)
...r = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听**/ public function init():void { //接收主域透传的数据 if(MiniAdpter.isZiYu && MiniAdpter.isPosMsgYu) { __JS__('wx').onMessage(functio...
来源: Laya_社区 发布时间: 20180525
... class HelloWorld extends Laya.Scene { constructor() { super(); HelloWorld.instance = this; } onBtnShowClick(){ var dialog = new Laya.Dialog(); dialog.width=300; dialog.height=600; //var bg = new Laya.Image('comp/img_bg.png'); //dialog.addChild(bg); var button = new Laya.Button('comp/button.png'); b...
来源: Laya_社区 发布时间: 20190117
...cketmanger{ private static var _I:Socketmanger; public static function get Instance():Socketmanger { if(_I==null)_I=new Socketmanger(); return _I; } private static var socket:Socket=null; private var list:Array=; public function Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, t...
来源: Laya_社区 发布时间: 20170724
...ScreenQuadByMaterial blitScreenTriangle clearRenderTarget drawMesh drawMeshInstance drawRender getCommandsSize setGlobalColor setGlobalInt setGlobalMatrix setGlobalNumber setGlobalTexture setGlobalVector setGlobalVector2 setGlobalVector3 setRenderTarget setShaderDataColor setShaderDataInt setShaderD...
来源: Laya3.0_api 发布时间: 20231115
...2.0正式版wss连接不成功web版本没问题,有DEMO Native下LayaGL.instance无法获取 socket.io 打包之前layaair,网页都是正常,构建xcode项目之后连接不上 layabox2d例子,虽然出来效果,但是总感觉跟laya挂钩不上。 【BUG】升级了Laya2.0.2新版LayaAir...
来源: Laya_社区 发布时间: 20181018
...ore.js:23721) at new GameMain (bundle.js:6) at Function.getCompInstance (laya.core.js:21214) at Function.createComp (laya.core.js:21081) at Function.createComp (laya.core.js:21111) at Function.createByData (laya.core.js:21034) at GameMain.createView (laya.core.js:...
来源: Laya_社区 发布时间: 20201110
...游戏子域程序加载到图集后,取图集内资源报错。 MsgMgr.instance.init(); Laya.timer.once(1000,this,function():void{ beginLoad(); }); private function beginLoad():void { Laya.loader.load("res/images/rank.json", Handler.create(this, onLoaded)); } private function onLoaded():void { tr...
来源: Laya_社区 发布时间: 20180830
...Exception', reason: '-[__NSArrayM enqueue:]: unrecognized selector sent to instance 0x60c00024e430' 188*****346 • 2018-05-24 11:29 @helloworldlv:这是微信固定的报错,只要没有配置-all_load 就会报这个错 188*****346 • 2018-05-24 11:33 @helloworldlv:之前就有人问过这个...
来源: Laya_社区 发布时间: 20180522
...sors batchMesh batchSubMeshInfo bufferState destroyed drawType indexFormat instanceCount mode Methods _getType clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new HLODBatchMesh(): HLODBatchMesh Overrides GeometryElement.constructor Defined in laya/d3/compone...
来源: Laya3.0_api 发布时间: 20231115
...herited Externals Only exported Menu Globals "laya/d3/RenderObjs/RenderObj/InstanceRenderElementOBJ" InstanceRenderElementOBJ Class InstanceRenderElementOBJ Hierarchy RenderElementOBJ InstanceRenderElementOBJ Implements IRenderElement Index Constructors constructor Properties _geometry _invertFront ...
来源: Laya3.0_api 发布时间: 20231115