大约有 849 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)
Laya_社区(562) Laya3.0_api(100) Laya2.0_api(69) laya_api(68) Laya2.0_文档(20) Laya3.0_文档(13) Laya2.0_示例(9) Laya_示例(8)
...本也有这个BUG,修复如下: laya.d3.js -> SimpleSingletonList.Clear -> for (var i = 0, n = this.length; i < n; i++) 引擎代码 i没有赋初值,导致 i<n永远为false. 2020-03-21 2 1 分享 微博 QZONE 微信 腊笔小新 赞同来自: 186*****645 clear() { var e...
来源: Laya_社区 发布时间: 20200206
....timer.loop(100, this, () => { if (r >= 360) r = 0; r++; sp.graphics.clear(true); sp.graphics.drawPie(0, 0, 50, 0, r, "#00ff1e"); sp2.graphics.clear(true); sp2.graphics.drawPie(0, 0, 50, 0, r, "#00ff1e"); }) 附件 : --> test.zip 2019-07-01 添加评论 免费帖 --> 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20190701
...p;& this._input.bytesAvailable < 1) { this._input.clear(); this._addInputPosition = 0; } var pre: number = this._input.pos; !this._addInputPosition && (this._addInputPosition = 0); this._input.pos = th...
来源: Laya_社区 发布时间: 20220822
...tion; private onBtn2Click(): void { this.body.destroyChildren(); this.body.clear(); this.body.destroy(); } 调试面板中的sprite个DrwaCall都有变化,但是CurMern么有发出变化,是否正常? 2 构造时创建 constructor() { this.aniBody = new Animation(); ...
来源: Laya_社区 发布时间: 20170615
... mLabelSprite.x = mStartX; mLabelSprite.y = mStartY; mLabelSprite.graphics.clear(); mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "#ff0000", "center"); Tween.to(mLabelSprite, { y:mStartY - 200 }, 1000, null,Handler.create(this,playEnd)) } function playEnd() { mLabelSprite.remov...
来源: Laya_示例 发布时间: 20240930
...根据指定的属性值,创建一个 Handler 类的实例。 Handler clear():Handler 清理对象引用。 Handler create(caller:*, method:Function, args:Array = null, once:Boolean = true):Handler[static] 从对象池内创建一个Handler,默认会执行一次并立即回收,如果不...
来源: laya_api 发布时间: 20170929
...根据指定的属性值,创建一个 Handler 类的实例。 Handler clear():Handler 清理对象引用。 Handler create(caller:*, method:Function, args:Array = null, once:Boolean = true):Handler[static] 从对象池内创建一个Handler,默认会执行一次并立即回收,如果不...
来源: Laya2.0_api 发布时间: 20190513
...: 0.8 }, 300); } else // 如果未触发hold,终止触发hold Laya.timer.clear(this, onHold); Laya.stage.off(Event.MOUSE_UP, this, onApeRelease); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Texture = Laya.Texture; import Browser = ...
来源: Laya_示例 发布时间: 20240930
...g() +".bmp"; img.graphics.clear(); var txture:Texture = Laya.loader.getRes(url); img.graphics.drawTexture(txture); img.size(txture.width,txture.height); } ...
来源: Laya_社区 发布时间: 20170918
...0.8 }, 300); } else { // 如果未触发hold,终止触发hold Laya.timer.clear(this, this.onHold); } Laya.stage.off(Event.MOUSE_UP, this, this.onApeRelease); } } new Interaction_Hold();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Texture =...
来源: Laya2.0_示例 发布时间: 20240930