Version: 2021.3
public static bool BakeAsync ();

반환

bool Returns true if the bake was successfully started. Will return false and print a warning message if it's not possible to start the bake.

설명

Starts an asynchronous bake job.

The progress can be monitored via isRunning property. bakeStarted will be called when the bake starts, and bakeCompleted when it is done.
Only works in Lightmapping.GIWorkflowMode.OnDemand mode.

For synchronous bakes see Bake.