This version of Unity is unsupported.

Lightmapping.Bake

Declaration

public static bool Bake();

Description

Starts a synchronous bake job.

Returns when the lightmapping has finished.