Keep local version of files

This commit is contained in:
2026-10-08 00:49:10 +05:30
parent 7fa0621ff8
commit 053665c690
7343 changed files with 5470578 additions and 5470528 deletions
+29 -29
View File
@@ -1,29 +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);
}
}
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);
}
}