Unity Engine documentationScript ReferenceUnityEditorLightingWindowTabOnSelectionChange()Called when the selection changes.Read time 1 minuteLast updated 2 months agoDefinition Type: Method Namespace: UnityEditor Assembly: UnityEditor public virtual void OnSelectionChange()