Hi i have script:
```csharp
using UnityEngine;
using UnityEngine.UI;
public class Loading : MonoBehaviour
{
public Text LoadingText;
public double Czas;
public GameObject LoadingGui;
void Start()
{
Czas = 0;
}
void Update()
{
while (Czas < 15)
{
Czas += 1;
LoadingText.text = "Presents.";
I WANT WAIT HERE 1 SECOND
LoadingText.text = "Presents..";
I WANT WAIT HERE 1 SECOND
LoadingText.text = "Presents...";
}
if (Czas >=15)
{
LoadingGui.SetActive(false);
}
}
}
and i want add wait to script, so bool " Czas " is subtracted per 1 second
and i dont want pause game, please help me.