Function unscaledDelayDetached

  • Resumes the passed thread or function after the elapsed delayTime seconds using the engine's scheduler. This uses unscaled time (Time.unscaledTime), so Time.timeScale will not effect duration.

    This is equivalent to task.unscaledDelay, except the thread is not owned by the calling thread. This means that the thread will continue to run, even if the parent thread belongs to a destroyed UnityObject.

    Type Parameters

    Parameters

    Returns thread