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

大约有 2 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0013 秒)

1. 加载-销毁Texture使用的图片资源 [ 100%]

... * @param evt */ onMouseUp(evt) { if (this.isDestroyed) { //通过设置 visible=true ,来触发渲染,然后引擎会自动恢复资源 this.spBg.visible = true; this.aniFly.visible = true; this.isDestroyed = false; this.txt.text = "销毁"; } else { //通过设置 visible=false ,来停止渲...

来源: Laya2.0_示例 发布时间: 20240929

2. UI-RefreshList [ 89%]

...hLoading.pos(133, 0); this.refreshLoading.bottom = 10; this.refreshLoading.visible = false; this.baseBox.addChild(this.refreshLoading); // 加载动画 this.loadingAni = new Animation(); this.loadingAni.loadAnimation("res/ui/refreshList/ani/Refresh.ani"); this.loadingAni.pos(27, 36); this.loadingAni...

来源: Laya2.0_示例 发布时间: 20240929