using TMPro; using UnityEngine; public class PI_SplashLoadingGameDataProgress : MonoBehaviour { // public Slider progressBar; [SerializeField] private TMP_Text loadingStatus; private void Start() { TWS_Delegates._OnTaskProgressUpdated = OnTaskProgressChanged; TWS_Delegates._OnTaskStatusChanged = OnTaskStatusChanged; } void OnTaskProgressChanged(float progress) { //progressBar.value = progress; } void OnTaskStatusChanged(string status) { loadingStatus.text = status; } }