reconnect, 30% fixes from test feedback

This commit is contained in:
2026-05-01 18:56:37 +05:30
parent 1da7c052f8
commit e3aa51d3e7
383 changed files with 41074 additions and 98 deletions
+29
View File
@@ -0,0 +1,29 @@
using TMPro;
using UnityEngine;
[RequireComponent(typeof(TMP_Text))]
public class LoadingTextTMP : MonoBehaviour
{
public string baseText = "Loading";
public char dotChar = '.';
public int dotCount =3;
public float interval = 1f;
TMP_Text txt;
void Start()
{
txt = GetComponent<TMP_Text>();
}
float timer = 0;
void Update(){
timer += Time.deltaTime;
if(timer > interval * dotCount){
timer =0;
}
int dots = (int)(timer / interval);
txt.text = baseText + new string(dotChar, dots);
}
}