You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
559 B
C#

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;
}
}