public void DeselectAll() { //Debug.LogWarning("DESELECT ALL"); lightMenuOpen.GetComponent<PanelSelectedLight>().Deselect(); if (selectedObject != null) { selectedObject.Highlight(false); selectedObject = null; } if (lightMenuOpen.activeInHierarchy) { CloseLightMenu(); } lightManager.UnhighlightAllLinked(); channelsManager.ChannelDeselectLight(); }