Unity Engine documentationScript ReferenceUnityEditorLightmappingLightmapping.GIWorkflowModeOnDemandThis property is now obsolete. Use LightingSettings.autoGenerate.Read time 1 minuteLast updated 12 days agoDefinition Type: Field Namespace: UnityEditor Assembly: UnityEditor OnDemand = 1