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