Is the delay function in unity faster than WaitForSeconds()?

I have a project that needs delay function which is not taking long time … I have tried using WaitForSeconds() but the result takes time too long as well.

I have already given small parameter 0.0000000001f and it still the same , nothing change.

How can I get the faster delay than this function (WaitForSeconds()) ???

Thanks in advance :slight_smile:

What delay time are you targeting.
WaitForSeconds(0f) → next time the Coroutine checks for communion of execution → Next frame (16.67ms on 60fps)
or maybe WaitForEndOfFrame could be interesting for you

Waits until the end of the frame after all cameras and GUI is rendered, just before displaying the frame on screen.
Unity - Scripting API: WaitForEndOfFrame