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