//linked to onpointerclicked event in plane prefab public void HandleSelection() { PlaneSelector[] allPlanes = FindObjectsOfType <PlaneSelector>(); foreach (PlaneSelector GO in allPlanes) { if (GO.IsSelected != selectedPlane) { GO.Deselect(); } else { GO.Select(); //AssignPlane(); //assigns this game object as selection and passes its' transform to the draw manager singleton } } }