大约有 228 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0070 秒)
...ict checking of property initialization in classes. */ // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source fi...
来源: Laya_社区 发布时间: 20190408
...异常情况 Laya.loader.load("../../res/apes/monkey2.png", Handler.create(this, function() { var t = Laya.loader.getRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); ape.graphics.scale(1.01, 1) Laya.stage.addChild(ape); ape.pos(200, 0); })); 上面这段...
来源: Laya_社区 发布时间: 20170609
... = "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