Function GizmoContext.InSelection InSelection (Component c) True if the component is selected. Public Static bool InSelection ( Component c ) True if the component is selected. This is a deep selection: even children of selected transforms are considered to be selected. InSelection (Transform tr) True if the transform is selected. Public Static bool InSelection ( Transform tr ) True if the transform is selected. This is a deep selection: even children of selected transforms are considered to be selected.