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

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

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

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

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

2. UI-RefreshList [ 45%]

...s.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseBox.bgColor = "#ffffff"; // 加载进度条 this.refreshLoading = new Box(); this.refreshLoading.pos(133...

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