Why is my delay not working?

Hi guys,

So im trying to make a delay in my script. But if I make a delay with: yield return new WaitForSeconds (5); I get the error: The body of PlayerController.Update() cannot be an iterator block because void is not an iterator interface type.

The Update function cannot use WaitForSeconds(). You can to call another function and have it do the wait. Update() gets called every update whether you want it to or not.

you can use start co routine method to access the same methods