大约有 226 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
... = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandl...
来源: Laya_社区 发布时间: 20180629
...一旦代码改正确,就有错误了。 gameSubContextThirdScriptError this._canvasTransform.identity is not a function;at requestAnimationFrame callback function TypeError: this._canvasTransform.identity is not a function at Stage.__proto.setScreenSize (http://127.0.0.1:60853/game/su ... 3...
来源: Laya_社区 发布时间: 20180504
...用来做测试的功能,不着急解决的let input = new Laya.Input() this.changeIDBtn.displayObject.addChild(input) input.y = -200; input.x = -200; input.text = 2000 + "" 附件 : --> 2021-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20211205
...l的情况。 function OnlinePlaySence(data) { OnlinePlaySence.super(this); } Laya.class(OnlinePlaySence, "OnlinePlaySence", BasePlaySenceUI); 附件 : --> 2017-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20171219
...的。 private void Hook() { if(!isExit) { isExit = true; Toast.makeText(this, "在按一次退出程序", Toast.LENGTH_SHORT).show(); new Timer().schedule(new TimerTask() { @Override public void run() { // TODO Auto-generated method stub isExit = false; } },2000); } else { // MobclickAgent.onKillPr...
来源: Laya_社区 发布时间: 20170811
... let _pause:boolean = false; btn1.on(Laya.Event.CLICK,this,()=>{ if(!_pause)return; sound.pause(); _pause = false }) btn2.on(Laya.Event.CLICK,this,()=>{ ...
来源: Laya_社区 发布时间: 20200922
...调,所以这一行一定会执行。 Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement, reference, 0, 0, reference.width, reference.height]); 3) 而你的代码里并不会执行这一行,你完全拷贝示例代码,会发现是能够播放的。差别就在...
来源: Laya_社区 发布时间: 20200703
... if (!ILaya.stage.isVisibility) { // this._timeId = window.setInterval(this._enterFrame, 1000); ILaya.m_worker.postMessage(['wait']); } else if (this._timeId != 0) { ...
来源: Laya_社区 发布时间: 20201201
...ction dispose():void { delete _dataCache[url]; delete __loadingSound[url]; this.audioBuffer = null; this.data = null; this.__toPlays = []; super.dispose(); } 如果不添加最后4行代码的话,每次切换回来内存就都会上涨了,现在是只有第一次上涨,之后就不会了 20...
来源: Laya_社区 发布时间: 20180205
...ya.Sprite3D.instantiate(sprite,parent,isHoldWorldPos,pos); 播放方式: this.animator.speed = speedRate; // animState._resetPlayState(0);//animState._elapsedTime this.animator.crossFade(animName, 0.1, 0, normalizedTime); 附件 : --> 2019-09-05 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190905