This commit is contained in:
2025-09-18 18:25:40 +08:00
parent 8ee325cc01
commit ce06ca8571
220 changed files with 165196 additions and 21 deletions

View File

@@ -0,0 +1,46 @@
using DG.Tweening;
using System;
using System.Collections.Generic;
using TMPro;
using UnityEngine.UI;
namespace SkierFramework
{
public class UILoadingView : UIView
{
#region
#pragma warning disable 0649
[ControlBinding]
private TextMeshProUGUI TextDes;
[ControlBinding]
private Image Aniloading;
#pragma warning restore 0649
#endregion
public override void OnOpen(object userData)
{
base.OnOpen(userData);
Reset();
}
public void SetLoading(float value, string desc)
{
TextDes.text = $"{desc} {value * 100:F0}%";
}
public override void OnClose()
{
base.OnClose();
Reset();
}
public void Reset()
{
TextDes.text = "";
}
}
}