public static void DoneConnecting() { StuffPlacer.RemoveOutlineFromObjects(ObjectsInvolvedWithPlacing, true); // DestroyImmediate is true because more outline code is run on the same frame and it needs to know that there is no outline on some things if (WireBeingPlaced != null) { Object.Destroy(WireBeingPlaced); } SelectedPeg = null; PegBeingLookedAt = null; StuffRotater.AllowedToDoRotation = true; StuffDeleter.AllowedToDoDeleting = true; }