Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

Lightmapping.SetDelegate

Switch to Manual

Description

Set a delegate that converts a list of lights to a list of LightDataGI structures that are passed to the baking backends. Must be reset by calling ResetDelegate again.