Kod pętli przez x sekund
float timePassed = 0f;
void Update()
{
timePassed += Time.deltaTime;
if(timePassed > 5f)
{
//do something
}
}
Umar Hassan
float timePassed = 0f;
void Update()
{
timePassed += Time.deltaTime;
if(timePassed > 5f)
{
//do something
}
}