大约有 1,491 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0048 秒)
...N('equipDataArray'); console.log('equipDataArray ', equipDataArray, ' |'); if (equipDataArray === null) { equipDataArray = [ { icon: 'img/weapon/gun0.png', weaponIndex: 0, weaponGrade: 1 }, { icon: 'img/weapon/gun1.png', weaponIndex: 1, weaponGrade: 1 }, { icon: 'img/weapon/gun2.png', weaponIndex: 2...
来源: Laya_社区 发布时间: 20190916
...er.RunningAppProcessInfo processInfo : manager.getRunningAppProcesses()) { if (processInfo.pid == android.os.Process.myPid()) { return processInfo.processName; } } return null; }if (!Utils.getProcessName(this).equals("YOUR_SECOND_PROCESS_NAME")) { MobileAds.initialize(this); } else { WebView.setData...
来源: Laya_社区 发布时间: 20200829
... "layacmd" "-g" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! electron@1.7.9 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@1.7.9 postinstall script 'node install.js'. npm ERR! Make sure you have the latest version of nod...
来源: Laya_社区 发布时间: 20171124
...圆的位置,可是圆移动过去不再继续向前飞,直接自由落体,if(this.ball.position.x<1) { this.ball.position={x:790,y:this.ball.position.y} } if(this.ball.position.x>799) { this.ball.position={x:10,y:this.ball.position.y} } 请问谁有什么刚好的办法实现我需要的这...
来源: Laya_社区 发布时间: 20180620
...eteCaller; this.m_curLoadingUrl = url; if(this.isLoaded(url) == false) { this.mFactory.loadAni(url); } else { this.buildAmature(); ...
来源: Laya_社区 发布时间: 20170801
...码(控制飞船喷射的尾焰粒子),现在转到2.0出问题了 if (!isFrame) { //这个是开关,按键松开时isFrame=false,按下播放尾焰特效后就置为true Laya.loader.load('../bin/testflame.part', Laya.Handler.create(this, (setting) => { let frame = new Laya.Particle2D(s...
来源: Laya_社区 发布时间: 20190723
... 提交 2 个回复 xwzx001 赞同来自: conch.showAssistantTouch(false); if(Browser.window['conch']) { __JS__('conch.showAssistantTouch(false)'); } 这个要在js下怎么改啊?真心不会。。就是想要隐藏laya自带那个圈圈,编译环境是js,不是ts、as 2017-05-23 0 1 ...
来源: Laya_社区 发布时间: 20170523
...r arr:Array = target["_aniList"]; for each(var an:FrameAnimation in arr) { if(an.name=="show") { an.play(); } } 2019-02-15 1 0 分享 微博 QZONE 微信 小声飞 赞同来自: 直接用这个scene 的实例 .show.play(0) 就行了 比如 var ss:soldieritem =new soldieritem(); ss.show.play(0); ...
来源: Laya_社区 发布时间: 20190215
...tion(){ setTimeout(function(){ var orientation=Browser.window.orientation; if (orientation !=null && orientation !=_$this._previousOrientation && _me._isInputting()){ Input["inputElement"].target.focus=false; } _$this._previousOrientation=orientation; if (_me._isInputting())return; i...
来源: Laya_社区 发布时间: 20190515
...背景图到了下面不可见的位置,立即调整位置到最上边 if(this.bg1.y+this.y>=852){ this.bg1.y-=852*2; } if(this.bg2.y+this.y>=852){ this.bg2.y-=852*2; } } return BackGround; })(Laya.Sprite); 附件 : --> 2019-10-18 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20191018