大约有 318 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0042 秒)
Laya_社区(202) Laya3.0_api(66) Laya2.0_文档(13) Laya3.0_文档(12) Laya2.0_示例(9) Laya_示例(8) laya_api(4) Laya2.0_api(4)
...里是把字节数组的数据通过socket发送给服务器。 this.byte.clear();//清除掉数据;方便下次读写; ``` 上面我们看到,通过一个字节数组把我们需要的数据读入一个Byte数组,最后发送给服务器的是`byte.buffer`,这是一个ArrayBuffer的数据类...
来源: Laya2.0_文档 发布时间: 20210714
...een = Laya.Tween, Ease = Laya.Ease; character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x: 350, y: 250 }, duration, Ease[list.selectedItem]); } createDurationCrontroller() { const Event = Laya.Event; let durationInput = this.createInputWidthLabel("Duration:", '2000', 400, 1...
来源: Laya2.0_示例 发布时间: 20250312
...impleSingletonList:" + element + " has in SingletonList."); this.clear(); } 把状态清空,重新来过,这样可能会对多点触摸有影响,只是说不卡死了。 吐槽一下: remove(element) { var index = element._getIndexInList(); this.length--; 这里...
来源: Laya_社区 发布时间: 20200910
...;//这里是把字节数组的数据通过socket发送给服务器。 byte.clear();//清除掉数据;方便下次读写; ``` 上面我们看到,我们通过一个字节数组把我们需要的数据读入一个Byte数组,最后发送给服务器的是`byte.buffer`,这是一个ArrayBuffer...
来源: Laya2.0_文档 发布时间: 20210715
...g() +".bmp"; img.graphics.clear(); var txture:Texture = Laya.loader.getRes(url); img.graphics.drawTexture(txture); img.size(txture.width,txture.height); } ...
来源: Laya_社区 发布时间: 20170918
...nction onEaseFunctionChange(list) { character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x: 350, y: 250 }, duration, Ease[list.selectedItem]); } function createDurationCrontroller() { var durationInput = createInputWidthLabel("Duration:", '2000', 400, 10); durationInput.on(E...
来源: Laya_示例 发布时间: 20250312
...ET接收数据BYTE内存会越来越大 接收数据_msgByte每次都调用clear(),且每次接收的数据大小是一致的; 但在google监视内存发现内存越来越大 private receiveHandler(msg: any = null): void { ///接收到数据触发函数 this._msgByte.clear(); this._msgByte.writeA...
来源: Laya_社区 发布时间: 20171214
...本也有这个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
...is.mStartX; this.mLabelSprite.y = this.mStartY; this.mLabelSprite.graphics.clear(); this.mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "#ff0000", "center"); Tween.to(this.mLabelSprite, { y:this.mStartY - 200 }, 1000, null,Handler.create(this,this.playEnd)) } private playEnd():v...
来源: Laya2.0_示例 发布时间: 20250312
... 浏览: 1050 关注: 1 人 hejianchun • 2018-10-18 21:05 image.graphics.clear();
来源: Laya_社区 发布时间: 20180623