This commit is contained in:
2025-11-12 18:39:09 +08:00
parent f615d8ddb0
commit 430fc90ade
37 changed files with 671 additions and 151 deletions

View File

@@ -0,0 +1,16 @@
using System;
using UnityEngine;
using UnityEngine.UI;
using Tuan.GameScripts.Main;
public class LoadingWindow : UIBase,IProgress<float>
{
public Slider slider;
public Text progressText;
public void Report(float value)
{
slider.value = value;
progressText.text = $"{value * 100:F0}%";
Debug.Log($"{gameObject.name};{value}");
}
}