public static bool BakeAsync ();

Valor de retorno

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.

Descripción

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.