SyntaxFix
Write A Post
Hire A Developer
Questions
here is more simple way without StartCoroutine:
float t = 0f; float waittime = 1f;
and inside Update/FixedUpdate:
if (t < 0){ t += Time.deltaTIme / waittime; yield return t; }