Version: 2023.2
public void Complete ();

描述

确保该作业已完成。

JobSystem 自动优先考虑该作业及其任何依赖项,以在队列中首先运行,然后尝试在调用 Complete 函数的线程上执行该作业。

Note: This function cannot be used in single-threaded WebGL builds where the Job represents a network transfer because HTTP transfers in web browsers must run to completion asynchronously.