Unity Engine documentationScript ReferenceUnityEditorLightingWindowEnvironmentSectionOnEnable()OnEnable is called when this Inspector override is used.Read time 1 minuteLast updated 2 months agoDefinition Type: Method Namespace: UnityEditor Assembly: UnityEditor public virtual void OnEnable()