Function deferDetached

  • Resumes the passed thread or function at the end of the invocation cycle using the engine's scheduler.

    This is equivalent to task.defer, 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