• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 29 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)

11. 在浏览器上,模拟并重现SimpleSingletonList的问题了 [ 79%]

... + element + " has  in  SingletonList.");     this.clear(); } 把状态清空,重新来过,这样可能会对多点触摸有影响,只是说不卡死了。   吐槽一下: remove(element) {      var index = element._getIndexInList();      this.length--; 这里不怕小于0么? ...

来源: Laya_社区 发布时间: 20200910

12. laya.display.Graphics [ 76%]

...oid 设置透明度。 Graphics  clear(recoverCmds:Boolean = false):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  drawCircl...

来源: laya_api 发布时间: 20170929

13. 怎么在不同时间显示MovieClip的多个实例 [ 76%]

...面都要用到同一个资源。页面切换的时候就把前一个页面清空了 苍蝇也是鸟 • 2018-06-01 15:47 好吧。我切换页面的时候重新加载动画,只能先这么做了。 苍蝇也是鸟 • 2018-05-31 18:28 好的 苍蝇也是鸟 • 2018-05-31 17:34 我的意思是不...

来源: Laya_社区 发布时间: 20180531

14. laya.display.Graphics [ 75%]

...aCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  dr...

来源: Laya2.0_api 发布时间: 20190513

15. Uncaught Can not find class EffectAnimation undefined [ 74%]

...册,手动注册之后,这个问题会解决,但是每次编译后会清空,有官方的人解决一下这个问题吗 Zong • 2019-03-03 17:00 发现这个问题很早就出现过了,为什么没有官方的解决一下这个bug呢 姜波 • 2019-02-25 16:48 还是不行,心累 姜波...

来源: Laya_社区 发布时间: 20181126

16. Web Storage数据存储(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 72%]

...代码Laya.LocalStorage.removeItem("data");将键值为data的数据进行清空,编译运行之后发现data数据就没有了。如下图所示: ![2](img/2.png) 如果我们需要把所有的数据都清理掉,在原有代码的最后添加一行代码即可: ```javascript Laya.LocalStorag...

来源: Laya2.0_文档 发布时间: 20210715

17. Web Storage数据存储(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 72%]

...添加代码LocalStorage.removeItem("data");将键值为data的数据进行清空,编译运行之后发现data数据就没有了。如下图所示: ![2](img/2.png) 如果我们需要把所有的数据都清理掉,在原有代码的最后添加一行代码即可: ```java Laya.LocalStorage.cle...

来源: Laya2.0_文档 发布时间: 20210715

18. laya.d3.core.particleshuriken.module.Emission_API3.0 [ 71%]

...st(): void Defined in laya/d3/core/particleShuriKen/module/Emission.ts:125 清空粒子爆裂。 Returns void clone clone(): any Defined in laya/d3/core/particleShuriKen/module/Emission.ts:155 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Defined in laya/d3/core/partic...

来源: Laya3.0_api 发布时间: 20231115

19. laya.ui.AutoBitmap [ 71%]

...phaCmd 设置透明度。 Graphics clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void[override] 销毁此对象。 AutoBi...

来源: Laya2.0_api 发布时间: 20190513

20. laya.d3.physics.shape.CompoundColliderShape_API3.0 [ 64%]

...hape(): void Defined in laya/d3/physics/shape/CompoundColliderShape.ts:134 清空子碰撞器形状。 Returns void clone clone(): any Overrides ColliderShape.clone Defined in laya/d3/physics/shape/CompoundColliderShape.ts:165 inheritdoc override Returns any cloneTo cloneTo(destObject: any): void Ov...

来源: Laya3.0_api 发布时间: 20231115