I have this code `
IEnumerator Start()
{
yield return new WaitForSeconds(1.0f);
\\some code
}
void Update () {
Instantiate(cars[carList[a]], carpos, transform.rotation);
//some code
}
problem is the update() starts even the start() function hasn’t ended yet. What should i do so that the update() functions starts after start() function delay.