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

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

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

...tage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.init(); //显示性能统计信息 Stat.show(); } /** * 初始化场景 */ private init():void { //创建背景 this.spBg = Sprite.fromImage(this.PathBg); Laya.stage.addChild(this.spBg); //创建动画 this.aniFly = new Animation(); th...

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

2. UI-RefreshList [ 80%]

...ntName, this, () => { console.log("达到了滚动限制:" + eventName); //显示加载进度ui this.refreshLoading.visible = true; //处理加载ui的位置 if (eventName === "dragTopLimit") { //先清理bottom的状态,避免top计算出错 this.refreshLoading.bottom = NaN; this.refreshLoading.t...

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