大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0121 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...件了,导致挂载不上 __proto._isLinkSpriteToAnimationNode=function(sprite,nodeName,isLink){ if (this._avatar){ 这一步必须要有 avatar 文件,但是用新的2.0插件导出的角色不带avatar文件导致无法挂载,可在GameUI.ts 41行下断点调试进入...
来源: Laya_社区 发布时间: 20191011
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...e = { type: "application/octet-binary" }; var blobFragment = []; function loadBytes(fragment: ArrayBuffer, onload: any = null): Laya.HTMLImage { var blob; try { blobFragment[0] = fragment; blob = new Blob(blobFragment, blobType); } catch (e) { var win: any = window; win.BlobBuilder = win.B...
来源: Laya_社区 发布时间: 20170502
...e3D.load("tlj/tlj.lh"); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { sprite.transform.position = new Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在场景加载完后进行操作! 2017-03-16 1 2 分享 微博 QZONE 微信 cuixueying 赞...
来源: Laya_社区 发布时间: 20170316
....create(this, onAssetsLoaded), null, Loader.JSON); public function onAssetsLoaded(settings:ParticleSetting):void { sp = new Particle2D(settings); sp.emitter.start(); sp.play(); ...
来源: Laya_社区 发布时间: 20170522
...用原生开发语言中对应的LP_Login方法) conchMarket.recharge(json,function(jsonString) { var pJson = JSON.parse(jsonString); console.log("code:"+ pJson .code); console.log("product_id:"+ pJson.product_id); console.log("amount:"+ pJson.amount);...
来源: Laya2.0_文档 发布时间: 20210715
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
... QRCode(document.getElementById("qrcode"), { width : 100, height : 100 }); function makeCode (_qrchr) { qrcode.makeCode(_qrchr); } makeCode("asfasdfas5151a31fsefasefsafe"); </script> </body> 2017-08-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题...
来源: Laya_社区 发布时间: 20170817
...s("http://10.10.20.58/chicken/res ... ot%3B,laya.utils.Handler.create(this,function(){ //添加到舞台 Laya.stage.addChild(roleAni); roleAni.play(); })); 代码就这几行.... 2018-03-22 0 0 分享 微博 QZONE 微信 wdmingzi2 赞同来自: 只是单纯的调用加载接口 然后就加...
来源: Laya_社区 发布时间: 20180322
........按钮点击事件 监听 changeMeshButton.on(Laya.Event.CLICK, this, function(){ index++; if (index % 5 === 1 ){ //切换mesh sphere.meshFilter.sharedMesh = box; } else if (index % 5 === 2){ //切换mesh sphere.meshFilter.sharedMesh = capsule; } else if(index % 5 === 3){ //切换mesh sphere.me...
来源: Laya2.0_文档 发布时间: 20210714